I am playing around with the idea of Airdrop. There is an error while running the sample code by Apple:
https://developer.apple.com/library/ios/samplecode/sc2273/Introduction/Intro.html
The error message is:
LaunchServices: invalidationHandler called
The problem is obviously caused by UIActivityViewController
. The related code is under #pragma mark - Actions
of this file if you could have a look.
It only show the error message when running on devices (both iPhone and iPad). It is all fine if running on simulator (both iPhone and iPad). What's the cause of this? Any idea about how to resolve it? Could it be possibly a bug?
Similar questions are asked by the following, none of which seems to be able to answer this quesition:
LaunchServices: invalidationHandler called - iOS 8 share sheet
Sharing via UIActivityViewController to Twitter/Facebook etc. causing crash
Present UIActivityViewController- LaunchServices:invalidationHandler called
This is a bug on Apple's side. From the developer forums:
That log message does not indicate any error on your part.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With