dillidon / alerts-and-pickers

Advanced usage of UIAlertController and pickers based on it: Telegram, Contacts, Location, PhotoLibrary, Country, Phone Code, Currency, Date...
MIT License
5.65k stars 700 forks source link

iOS 12.2 Beta makes it impossible to set custom ViewControllers for UIAlerts #76

Open ccrama opened 5 years ago

ccrama commented 5 years ago

I am seeing this both from pickers in this library and my own custom implementations. It seems that setting a custom contentViewController is no longer working.

Is anyone else running into this, and if so have any work arounds been found? I tried googling the issue but there hasn't been anything about it that I could find (as this was an undocumented use of the class anyway).

Thanks!

CodingMeSwiftly commented 5 years ago

+1. For me, custom contentViewControllers cause the alert to be displayed at the very bottom of the screen. Upon rotation while presented, the layout freaks out. Not seeing this issue prior to 12.2