myriadmobile / BetterKit

A collection of useful tools to enhance standard application development
MIT License
0 stars 0 forks source link

Fix crash when presenting UIActivityViewController #3

Open Janglinator opened 6 years ago

Janglinator commented 6 years ago
if ( [activityViewController respondsToSelector:@selector(popoverPresentationController)] ) { 
 activityViewController.popoverPresentationController.sourceView =
parentView;
 }