iOSUIActionSheet
から表示しようとしています。UINavigationController
私が使用する[action showInView:self.view];
と、次のような警告メッセージが表示されました。
Presenting action sheet clipped by its superview. Some controls might not respond to touches. On iPhone try -[UIActionSheet showFromTabBar:] or -[UIActionSheet showFromToolbar:] instead of -[UIActionSheet showInView:].
ただし、UIActionSheet は正しく表示され、何も起こりませんでした。
私の iOS では、次のコードのようなランドスケープ モードをサポートしています。
if ([[[UIDevice currentDevice] systemVersion] floatValue] >= 3.0 ||
UIDeviceOrientationIsPortrait([[UIDevice currentDevice] orientation])) {
[action showInView:self.view];
} else {
[action showInView:self.view.window];
警告メッセージが重要であることを知りたいですか?
または、その警告メッセージを無視できますか?