Open Binusz opened 8 years ago
Any more info? I tried in the iOS 9 simulator and it seemed to be working, I am charging up a real iPad now to test out on there.
May be its my fault. i should check popoverPresentationController with respondsToSelector. It is good to add detailed information about ipad in your Readme file.
Can you post some code with what you need to do? Thanks
// on iOS8
if ([urbnActivityController respondsToSelector:@selector(popoverPresentationController)]) {
urbnActivityController.popoverPresentationController.barButtonItem = (UIBarButtonItem *)sender;
}
[self presentViewController:urbnActivityController animated:YES completion:nil];
On iOS 8 or later, we should check popoverPresentationController. Otherwise, when try to present, app will be crashed.
if you mention that in your readme. it would be appropriate.
it does not work at iPad with iOS 8+