viezel / TiSocial.Framework

iOS6+ Social.Framework. Appcelerator apps are able to share content to Facebook and Twitter.
MIT License
259 stars 102 forks source link

Still Crashing on iOS 8 #108

Open bcaufield opened 9 years ago

bcaufield commented 9 years ago

I am also experiencing crashes on iOS 8 running the sample project. The application has crashed with an uncaught exception 'NSGenericException'.

[ERROR] : Reason: [ERROR] : UIPopoverPresentationController (<_UIAlertControllerActionSheetRegularPresentationController: 0x8103a470>) should have a non-nil sourceView or barButtonItem set before the presentation occurs. [ERROR] : Stack trace:

I am running the most recent 1.7.5 module - any help would be greatly appreciated.

Brian Caufield

ludolphus commented 9 years ago

did you specify the 'view' property and use activityPopover (instead of activityView)? This is required on iPad (iOS 8) see https://github.com/viezel/TiSocial.Framework/blob/master/README.md#socialactivitypopover-ipad-only

bcaufield commented 9 years ago

Yes, I ended up using the popover - I was not aware that this is now required - older version let you use the activityView. This point could be clearer in the documentation.

ludolphus commented 9 years ago

The owner accepts pull requests so I'm sure your welcome to improve the documentation.