CartoDB / mobile-ios-samples

iOS mobile app with CARTO Mobile SDK
BSD 2-Clause "Simplified" License
30 stars 12 forks source link

AlertView crash on Tablets #9

Closed Nikituh closed 7 years ago

Nikituh commented 7 years ago
Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIActivityViewController (<UIActivityViewController: 0x112fd5b50>). In its current trait environment, the modalPresentationStyle of a UIActivityViewController with this style is UIModalPresentationPopover. You must provide location information for this popover through the view controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem.  If this information is not known when you present the view controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'

Caused by:

[self.view makeToast:message];

Remove third-party library, own implementation to fix it.