<bdo id='Q5ulJ'></bdo><ul id='Q5ulJ'></ul>
<i id='Q5ulJ'><tr id='Q5ulJ'><dt id='Q5ulJ'><q id='Q5ulJ'><span id='Q5ulJ'><b id='Q5ulJ'><form id='Q5ulJ'><ins id='Q5ulJ'></ins><ul id='Q5ulJ'></ul><sub id='Q5ulJ'></sub></form><legend id='Q5ulJ'></legend><bdo id='Q5ulJ'><pre id='Q5ulJ'><center id='Q5ulJ'></center></pre></bdo></b><th id='Q5ulJ'></th></span></q></dt></tr></i><div id='Q5ulJ'><tfoot id='Q5ulJ'></tfoot><dl id='Q5ulJ'><fieldset id='Q5ulJ'></fieldset></dl></div>

    1. <small id='Q5ulJ'></small><noframes id='Q5ulJ'>

    2. <tfoot id='Q5ulJ'></tfoot>
      <legend id='Q5ulJ'><style id='Q5ulJ'><dir id='Q5ulJ'><q id='Q5ulJ'></q></dir></style></legend>
    3. 如何将本地 HTML 文件加载到 UIWebView?

      How can I load a local HTML file into the UIWebView?(如何将本地 HTML 文件加载到 UIWebView?)
      <i id='glya4'><tr id='glya4'><dt id='glya4'><q id='glya4'><span id='glya4'><b id='glya4'><form id='glya4'><ins id='glya4'></ins><ul id='glya4'></ul><sub id='glya4'></sub></form><legend id='glya4'></legend><bdo id='glya4'><pre id='glya4'><center id='glya4'></center></pre></bdo></b><th id='glya4'></th></span></q></dt></tr></i><div id='glya4'><tfoot id='glya4'></tfoot><dl id='glya4'><fieldset id='glya4'></fieldset></dl></div>

      <small id='glya4'></small><noframes id='glya4'>

        <bdo id='glya4'></bdo><ul id='glya4'></ul>
      • <tfoot id='glya4'></tfoot>

          <legend id='glya4'><style id='glya4'><dir id='glya4'><q id='glya4'></q></dir></style></legend>

                <tbody id='glya4'></tbody>
              • 本文介绍了如何将本地 HTML 文件加载到 UIWebView?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我们如何将自己的 html 文件加载到 UIWebView 中?

                How can we load our own html file into the UIWebView?

                推荐答案

                以下代码将在您的项目文件夹中加载一个名为 index.html 的 HTML 文件:

                The following code will load an HTML file named index.html in your project folder:

                [WebView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]isDirectory:NO]]];
                

                这篇关于如何将本地 HTML 文件加载到 UIWebView?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                EAAccessory/EASession teardown during background(EAAccessory/EASession 在后台拆除)
                Getting an NSArray of a single attribute from an NSArray(从 NSArray 获取单个属性的 NSArray)
                ImageIO: lt;ERRORgt; JPEG Corrupt JPEG data: premature end of data segment iphone - how to catch this?(ImageIO:lt;错误gt;JPEG 损坏的 JPEG 数据:iphone 数据段过早结束 - 如何捕捉到这个?)
                How to get indexPath.row of tableView which is currently being displayed?(如何获取当前正在显示的 tableView 的 indexPath.row?)
                Xcode iOS organizer submit to app store yields quot;The archive is invalidquot; error(Xcode iOS 管理器提交到应用商店产生“存档无效;错误)
                MFMessageComposeViewController alloc returns nil(MFMessageComposeViewController alloc 返回 nil)
                  <tbody id='laFlk'></tbody>

                <small id='laFlk'></small><noframes id='laFlk'>

                1. <legend id='laFlk'><style id='laFlk'><dir id='laFlk'><q id='laFlk'></q></dir></style></legend>

                  1. <tfoot id='laFlk'></tfoot>

                  2. <i id='laFlk'><tr id='laFlk'><dt id='laFlk'><q id='laFlk'><span id='laFlk'><b id='laFlk'><form id='laFlk'><ins id='laFlk'></ins><ul id='laFlk'></ul><sub id='laFlk'></sub></form><legend id='laFlk'></legend><bdo id='laFlk'><pre id='laFlk'><center id='laFlk'></center></pre></bdo></b><th id='laFlk'></th></span></q></dt></tr></i><div id='laFlk'><tfoot id='laFlk'></tfoot><dl id='laFlk'><fieldset id='laFlk'></fieldset></dl></div>
                        • <bdo id='laFlk'></bdo><ul id='laFlk'></ul>