SLComposeServiceViewController跳转
作者:
lczalh | 来源:发表于
2020-07-15 18:04 被阅读0次let scheme = "ReadShadow://"
let url: URL = URL(string: scheme)!
let context = NSExtensionContext()
context.open(url, completionHandler: nil)
var responder = self as UIResponder?
let selectorOpenURL = sel_registerName("openURL:")
while (responder != nil) {
if responder!.responds(to: selectorOpenURL) {
responder!.perform(selectorOpenURL, with: url)
break
}
responder = responder?.next
}
本文标题:SLComposeServiceViewController跳转
本文链接:https://www.haomeiwen.com/subject/cmujhktx.html
网友评论