常に縦向きのiPhoneアプリがあります。しかし、テーブルを表示するにはビューを回転させる必要があります。ボタンはサブビューにあります。私はこのコードを持っています:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
}
ただし、このビューはサブビューから呼び出されるため、インターフェイスの向きは無視されます。
インターフェイスの向きを変更する方法はありますか??
ありがとう!