UIAlertController/UIAlertView scrolling on iOS 8

前端 未结 5 988
旧巷少年郎
旧巷少年郎 2020-12-31 16:41

I\'m wondering if anyone knows a good solution to the fact that UIAlertViews and UIAlertControllers won\'t scroll on iOS 8? Here is an example:

[[[UIAlertVie         


        
5条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-31 17:09

    Any UIAlertView instances have to first be changed to UIAlertController instances. (They can be used pretty much the same way.) After changing it to a UIAlertController, set the frame property to the application main screen. (setting view.frame of UIAlertView doesn't help) Evidently, they are depreciating UIAlertViews in IOS8, although it isn't as clear as it should be.

提交回复
热议问题