kleinlieu / CustomUIActionSheet

This is an implementation of a UI Action Sheet that supports an insertion of a UIView as a subview.
MIT License
14 stars 0 forks source link

iOS8 issue #1

Closed WendyLei closed 9 years ago

kleinlieu commented 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/