2010-12-30 6 views
0

私は、ポートレートモードでビューを作成するとき、方向の風景とポートレートモードの両方で動作するIPadでアプリケーションを作成したいと思います。向きが変更されると、landscapeモードでいくつかのビューが非表示になります。私はメソッドを追加したipad orientation

事前にヘルプも

// Override to allow orientations other than the default portrait orientation. 
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { 
    return YES; 
} 

答えて

関連する問題