Swift UIAlertController -> ActionSheet iPad iOS8 Crashes
问题 currently i'm running into big trouble with my ActionSheet. On iPhone it works great, but on iPad it only crashes I create a new project with only one button import UIKit extension ViewController : UIActionSheetDelegate { func actionSheet(actionSheet: UIActionSheet, didDismissWithButtonIndex buttonIndex: Int) { if actionSheet.tag == 0 { if buttonIndex == 1 { // doing something for "product page" } else if (buttonIndex == 2) { // doing something for "video" } } } } class ViewController: