'OpenUrl' был снижен в iOS 10.0: пожалуйста ниже. < /p>
Код: Выделить всё
let myUrl = "http://www.google.com"
if !myUrl.isEmpty {
UIApplication.shared.openURL(URL(string: "\(myUrl)")!)
}
Подробнее здесь: https://stackoverflow.com/questions/423 ... etionhandl