Swift 3 iMessage Extension doesn't open URL
问题 I am creating an iOS Application iMessage Extension. According to Example by Apple, I creating a message according to provided logic guard let url: URL = URL(string: "http://www.google.com") else { return } let message = composeMessage(url: url) activeConversation?.insert(message, completionHandler: { [weak self] (error: Error?) in guard let error = error else { return } self?.presentAlert(error: error) }) also private func composeMessage(url: URL) -> MSMessage { let layout =