Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p><code>UIWebView</code> is used to render HTML content in iOS (<a href="/questions/tagged/ios" class="post-tag" title="show questions tagged &#39;ios&#39;" rel="tag">ios</a>) applications (including accompanying CSS and JavaScript). <code>UIWebView</code> is effectively a miniature web browser that you can embed within your app. The user can view a web page (both local or from the Internet) in the app itself instead of launching the separate Safari app. <code>UIWebView</code> is available in iOS 2.0 and later. </p> <p>Set the <a href="https://developer.apple.com/documentation/uikit/uiwebview#//apple_ref/occ/instp/UIWebView/delegate" rel="nofollow noreferrer"><code>delegate</code></a> property for the <code>UIWebView</code> to an object conforming to the <a href="https://developer.apple.com/documentation/uikit/uiwebviewdelegate#//apple_ref/occ/intf/UIWebViewDelegate" rel="nofollow noreferrer"><code>UIWebViewDelegate</code></a> protocol if you want to track the loading of web content from your app.</p> <p>Note that <code>UIWebView</code> is <strong>deprecated</strong> since iOS 8, it is <a href="https://developer.apple.com/documentation/uikit/uiwebview" rel="nofollow noreferrer">recommended by Apple</a> to use <code>WKWebView</code> instead.</p> <h3>Resources:</h3> <ul> <li><a href="https://developer.apple.com/documentation/uikit/uiwebview" rel="nofollow noreferrer">UIWebView Class Reference</a></li> <li><a href="https://developer.apple.com/library/content/documentation/StringsTextFonts/Conceptual/TextAndWebiPhoneOS/UsingTextClasses/UsingTextClasses.html#//apple_ref/doc/uid/TP40009542-CH2-SW13" rel="nofollow noreferrer">Text, Web, and Editing Programming Guide for iOS</a></li> <li>See <a href="https://developer.apple.com/library/content/documentation/AppleApplications/Reference/SafariWebContent/Introduction/Introduction.html#//apple_ref/doc/uid/TP40002051" rel="nofollow noreferrer">Safari Web Content Guide</a> for how to create web content that is compatible with and optimized for displaying in Safari and in <code>UIWebView</code> </li> </ul>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload