huri000 / SwiftEntryKit

SwiftEntryKit is a presentation library for iOS. It can be used to easily display overlays within your iOS apps.
MIT License
6.63k stars 608 forks source link

crash #362

Closed brave723 closed 2 years ago

brave723 commented 3 years ago

Describe the bug our application has presented a UIAlertController (<UIAlertController: 0x10c84c400>) of style UIAlertControllerStyleActionSheet from SwiftEntryKit.EKRootViewController (<SwiftEntryKit.EKRootViewController: 0x108064800>). 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.16

iPhone (please complete the following information):

multinerd commented 2 years ago

https://stackoverflow.com/questions/24224916/presenting-a-uialertcontroller-properly-on-an-ipad-using-ios-8