Closed WendyLei closed 9 years ago
To anyone wondering how to use this with iOS8, I would really recommend to use UIAlertController instead. From Apple's docs, UIActionSheet is deprecated starting in iOS 8:
"Important: UIActionSheet is deprecated in iOS 8. (Note that UIActionSheetDelegate is also deprecated.) To create and manage action sheets in iOS 8 and later, instead use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet." https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActionSheet_Class/
To anyone wondering how to use this with iOS8, I would really recommend to use UIAlertController instead. From Apple's docs, UIActionSheet is deprecated starting in iOS 8:
"Important: UIActionSheet is deprecated in iOS 8. (Note that UIActionSheetDelegate is also deprecated.) To create and manage action sheets in iOS 8 and later, instead use UIAlertController with a preferredStyle of UIAlertControllerStyleActionSheet." https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIActionSheet_Class/