iPhone:Device Orientation problem
HI in my iPHone App I开发者_StackOverflow社区 facing problem for the device orientation
screen 1
now On click of next button, it is displaying screen2 that is fine
screen 2now clicking on back when I can return to original screen it is not showing properly
what could be the problem? how can I solve it?
ViewController responsible for view that have Place and Food fields should have method:
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
return YES;
}
精彩评论