Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

action button doesn't work #2

Closed
slav123 opened this issue Apr 14, 2016 · 0 comments
Closed

action button doesn't work #2

slav123 opened this issue Apr 14, 2016 · 0 comments
Assignees
Labels

Comments

@slav123
Copy link

slav123 commented Apr 14, 2016

When I hit action button with

let options = CollieGalleryOptions()

options.enableSave = true;

let gallery = CollieGallery(pictures: pictures, options: options)

gallery.presentInViewController(self)

*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x7cac9e00>) of style UIAlertControllerStyleActionSheet. The modalPresentationStyle of a UIAlertController with this style is UIModalPresentationPopover. You must provide location information for this popover through the alert controller's popoverPresentationController. You must provide either a sourceView and sourceRect or a barButtonItem. If this information is not known when you present the alert controller, you may provide it in the UIPopoverPresentationControllerDelegate method -prepareForPopoverPresentation.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants