如何在SFSafariViewController中加载网页标题?
我在这些代表下方使用以获取网址,但是当我按操作按钮
时它不会调用func safariViewController(_ controller: SFSafariViewController, activityItemsFor URL: URL, title: String?) -> [UIActivity] {
let my activity = UIActivity()
let name = myactivity.activityTitle}
答案 0 :(得分:0)
你还记得设置代表吗?例如:safariViewController.delegate = self
?