私はこの問題を抱えています:これが私のコードです:
UIActionSheet *popupQuery = [[UIActionSheet alloc] initWithTitle:@"Share the race" delegate:self cancelButtonTitle:@"Cancel" destructiveButtonTitle:@"Send with mail" otherButtonTitles:nil];
popupQuery.actionSheetStyle = UIActionSheetStyleBlackTranslucent;
[popupQuery showInView:self.view];
[popupQuery release];
すべて問題ないようです。2つのボタンが正しく表示され、[メールで送信]ボタンは問題ありませんが、キャンセルは上部のクリックのみをキャッチします...ここでは状況を示すショットを示します。
どうすればこれを解決できますか?
ありがとう:)