iOS
Este documento fornece instruções para criar um WebView em um projeto iOS.
Info.plist do iOS
<key>NSCameraUsageDescription</key>
<string>Permissão da câmera</string>
<key>NSMotionUsageDescription</key>
<string>Permissão de movimento</string>WebView do iOS (Swift)
AppDelegate
@main
class AppDelegate: UIResponder, UIApplicationDelegate {
var window: UIWindow?
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
window?.rootViewController = WebViewController()
window?.makeKeyAndVisible()
return true
}
}SceneDelegate
WebViewController
Atualizado

