On iOS8 I\'m using a UIActivityViewController to share a UIImage to Facebook/Twitter etc. It seemed to be working fine, but today it suddenly started crashing when running t
As @mmccomb told here, on iPad the activity view controller will be displayed as a popover using the new UIPopoverPresentationController. You need to specify at least the source view:
activityViewController.popoverPresentationController.sourceView = YOURDESIREDVIEW;
If you want to show the popover anchored to any point to that view, specify it with the sourceRect property of the popoverPresentationController.