Chapter 19: Web View So far we are talking about the native apps. A part from native, mobile apps may be web or hybrid. In many cases inside a native screen a web page has to be loaded. More like code once and use multiple times. Common web pages such as privacy policy, terms and conditions are loaded on mobile apps through web views. To ensure that the content in the web view is accessible, once should ensure that the source content meets all the accessibility requirements. Below is a summary for you to understand how to load web view on IOS and Android apps. IOS For versions after IOS 8 use WKWebView to add web content to your app. Use UIWebView or WebVie for IOS earlier to 8. use the WKWebView class to embed web content in your app. Create a WKWebView object, set it as the view. Send a request to this view to load the web content. More information on WKWeb view object. Android Adding a WebView to your app To add a WebView to your app, you can either include the <WebView> element in your activity layout, or set the entire Activity window as a WebView in onCreate(). Adding a WebView in the activity layout To add a WebViewto your app in the layout, add the following code to your activity’s layout XML file: hdr_strongcontent_copy <WebView android:id=”@+id/webview” android:layout_width=”match_parent” android:layout_height=”match_parent”/> Read more about Android web view <