iPad shows at portrait but thinks it's landscape
问题 My Storybuilder is designed with a portrait layout. When I start the app with my iPad already turned to horizontal, it's able to correctly detect it's in a horizontal position. But when I start the app with my iPad in a portrait position, it thinks it's in horizontal. However, every time I rotate it, the code is able to detect the correct orientation properly. - (void) viewDidLoad { [self updateForOrientation]; } - (void)updateForOrientation { if (UIInterfaceOrientationIsPortrait([[UIDevice