# Best practices using the Meeting SDK in an iOS WebView Zoom recommends using the [Meeting SDK for iOS](/docs/meeting-sdk/ios/) in native iOS apps. However, if you are optimizing your iOS app for package size, the [Meeting SDK for web](/docs/meeting-sdk/web) can be embedded in an [iOS WebView](https://developer.apple.com/documentation/webkit/wkwebview). This is now supported in Meeting SDK for web 2.10.1 and above. Here are the best practices for using the Meeting SDK for web in an iOS WebView: 1. Configure your App's Info.plist file to include the [NSCameraUsageDescription](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/plist/info/NSCameraUsageDescription) and [NSMicrophoneUsageDescription](https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html#//apple_ref/doc/uid/TP40009251-SW25) properties. 2. Add the WebKit WKWebView code in your ViewController.swift file. Here is a [great video](https://www.youtube.com/watch?v=JafGypqFvs4) that demonstrates this. (The part in the video about JavaScript injection and User Agents is not required). In addition to the video, make sure to include the following in your webView class: ```swift configuration.allowsInlineMediaPlayback = true ``` Here is a full example implementation: ```swift import UIKit import WebKit classViewController: UIViewController { let webView: WKWebView = { let prefs = WKWebpagePreferences() prefs.allowsContentJavaScript = true let configuration = WKWebViewConfiguration() configuration.defaultWebpagePreferences = prefs configuration.allowsInlineMediaPlayback = true let webView = WKWebView(frame: .zero, configuration: configuration) return webView }() override func viewDidLoad() { super.viewDidLoad() view.addSubview(webView) guardlet url = URL(string: "https://example.com/meetingsdk") else { return } webView.load(URLRequest(url: url)) } override func viewDidLayoutSubviews() { super.viewDidLayoutSubviews() webView.frame = view.bounds } } ```