Swift「アプリ内から他アプリを起動」
概要
アプリ内から他アプリを起動。
「UIApplication.shared.open()」を使用。
Example
- BookLive
if let url = URL(string: "booklive:") { UIApplication.shared.open(url) }
- Booklover
if let url = URL(string: "booklover:") { UIApplication.shared.open(url) }
- Kindle
if let url = URL(string: "kindle:") { UIApplication.shared.open(url) }
- Kinoppy
if let url = URL(string: "kinoppy:") { UIApplication.shared.open(url) }
- SideBooks
if let url = URL(string: "sidebooks:") { UIApplication.shared.open(url) }