Add UIPickerView in UIActionSheet from IOS 8 not working

前端 未结 6 2106
时光说笑
时光说笑 2020-11-30 23:37

I am adding UIPickerView to UIActionsheet but its working perfectally in ios 7 but not working in ios 8. Please help me t

6条回答
  •  北荒
    北荒 (楼主)
    2020-12-01 00:11

    That doesn't show anything because uiactionsheet & uiactionsheetdelegate is deprecated is ios8 https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActionSheet_Class/index.html

    You need to use UIAlertController in ios 8.

提交回复
热议问题