1
Could someone help me solve the problem called:
"Launchservices: invalidationHandler called" whenever I press a certain BarButtonItem
, follows below the excerpt of the code in SWIFT.
@IBAction func btShared(sender: UIBarButtonItem) {
let myActivity: UIActivityViewController =
UIActivityViewController(activityItems: [url], applicationActivities: nil)
myActivity.excludedActivityTypes = [UIActivityTypeCopyToPasteboard]
self.presentViewController(myActivity, animated: true, completion: nil)
}
Ola Ricardo, the error still persists, when executing Action Barbuttonitem, keeps presenting the error message: Launchservices: invalidationHandler called
– André Bem
This is an Apple bug: https://devforums.apple.com/message/1049415#1049415
– Ricardo Pereira