moved root folder of ios-webview demo

This commit is contained in:
Jon 2021-06-22 17:49:15 +01:00
parent d7469926f2
commit 4c7848fb22
17 changed files with 25 additions and 25 deletions

View File

@ -0,0 +1,13 @@
# Prebuilt UI Examples
Daily Prebuilt makes it easy for developers to add video calls — in minutes — to any site or app. Out-of-the-box features include 1,000 person calls, recording, dual screen sharing, and more. Our secure infrastructure is trusted worldwide, from startups to Fortune 500 companies.
These examples demonstrate how to customise and extend the prebuilt UI.
---
## Examples
### [🤙 iOS WebView](./ios-webview)
Shows how to wrap the prebuilt UI in a native iOS application (using WKWebView)

View File

@ -1,13 +1,18 @@
# Prebuilt UI Examples
# WKWebView prebuilt example
Daily Prebuilt makes it easy for developers to add video calls — in minutes — to any site or app. Out-of-the-box features include 1,000 person calls, recording, dual screen sharing, and more. Our secure infrastructure is trusted worldwide, from startups to Fortune 500 companies.
![WebViewPrebuilt](./image.png)
These examples demonstrate how to customise and extend the prebuilt UI.
## What does this demo do?
---
Embeds the Daily Prebuilt UI in native iOS applicaiton using WKWebView
## Examples
Notes:
### [🤙 iOS WebView](./ios-webview)
- `getUserMedia` support was added to WKWebView in iOS >=14.4
- You must add both `NSCameraUsageDescription` & `NSMicrophoneUsageDescription` to `info.plist` or `navigator.mediaDevices` will resolve as undefined
Shows how to wrap the prebuilt UI in a native iOS application (using WKWebView)
### Getting started
- Load XCode project
- Update the url property found in [ViewController.swift](./WebViewPrebuilt/ViewController.swift)
- Run on device / simulator targeting iOS >=14.4

View File

Before

Width:  |  Height:  |  Size: 251 KiB

After

Width:  |  Height:  |  Size: 251 KiB

View File

@ -1,18 +0,0 @@
# WKWebView prebuilt example
![WebViewPrebuilt](./image.png)
## What does this demo do?
Embeds the Daily Prebuilt UI in native iOS applicaiton using WKWebView
Notes:
- `getUserMedia` support was added to WKWebView in iOS >=14.4
- You must add both `NSCameraUsageDescription` & `NSMicrophoneUsageDescription` to `info.plist` or `navigator.mediaDevices` will resolve as undefined
### Getting started
- Load XCode project
- Update the url property found in [ViewController.swift](./WebViewPrebuilt/ViewController.swift)
- Run on device / simulator targeting iOS >=14.4