I know the way to get your app to be l开发者_运维百科andscape is to go and make it that way in the info.plist file, but I want my second view to start in landscape. How do i do this?
Create a new view controller for your second view and present it modally.
In your new view controller implement:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
to return only the orientations you wish to support.
See also
How to force horizontal orientation?
精彩评论