-
Notifications
You must be signed in to change notification settings - Fork 13
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
Does not work on iPad #8
Comments
Huh, you're absolutely right. Seems like I've never tested this to run on an iPad 🤦♂️ Since I don't want to make any assumptions about your presentation, I just pushed a new commit that adds If it works for you I'll gladly bump the version to 0.2.0 with those changes. |
Hi Kilian, Thank you very much! This new method ` let alertController = Karte.createPicker(destination: location) Thanks for your fast response and excellent work. Alex |
Thanks for the update! Just tagged the version and pushed 0.2.0 accordingly. |
The alert view can't be presented on an iPad, when style = .actionSheet is used.
*** Terminating app due to uncaught exception 'NSGenericException', reason: 'Your application has presented a UIAlertController (<UIAlertController: 0x105272a00>) 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.'
*** First throw call stack:
The text was updated successfully, but these errors were encountered: