iOS 7에서는 actionSheet를 표시 할 수 있지만 iOS 8 환경에서는 표시 할 수 없습니다. 추적 할 방법이 있습니까?iOS 8에 UIActionSheet가 표시되지 않습니다.
UIActionSheet *_actionSheet = [[UIActionSheet alloc] initWithTitle:@"Account"
delegate:self
cancelButtonTitle:@"Close"
destructiveButtonTitle:@"Log Out"
otherButtonTitles:@"View Account", nil];
[_actionSheet showInView:appDel.window];
왜냐하면'UIActionSheets'은'iOS8'에 더 이상 존재하지 않기 때문에'UIAlertController'를 사용하지 않기 때문입니다 https://developer.apple.com/Library/ios/documentation/UIKit/Reference /UIAlertController_class/index.html – Popeye
@Popeye "deprecated"는 "제거됨"을 의미하지 않고 "회피하십시오"를 의미합니다. –
내 iPhone 앱에서 더 이상 작동하지 않았습니다. iOS 9를 사용하면 내 UIActionSheet가 화면 전체를 어둡게 만 표시하고 팝업 메뉴가 나타나지 않습니다. 여기에 내 수정의 세부 사항 : http://stackoverflow.com/questions/32824199/action-sheet-problems-in-ios-9/35316029#35316029 (한숨 ...) –