Hi Rob
I took the code from https://github.com/coronalabs/plugins-sample-native-popup-activity
declared local button on top of the code and replaced
native.showPopup( popupName,
{
items = itemsToShare,
– excludedActivities = { “UIActivityTypeCopyToPasteboard”, },
listener = listener,
})
with
native.showPopup( popupName,
{
items = itemsToShare,
– excludedActivities = { “UIActivityTypeCopyToPasteboard”, },
listener = listener,
origin = button.contentBounds,
permittedArrowDirections={ “up”, “down” }
})
I build with the daily build 2015.2603 - put it on device ( iPad Air with iOS 7.1.2 )
and the popup shows up for a blink of a second and then it crashes. In xcode console window:
Terminating app due to uncaught exception ‘NSGenericException’, reason: ‘-[UIPopoverController dealloc] reached while popover is still visible.’
Is iOS 7.1.2 the problem ?
Thanks
Peter