iOS6 の自動回転に問題があります。これをApp Delegateに追加しました:
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
{
return (UIInterfaceOrientationMaskAll);
}
そしてこれをView Controllerに追加しました:
- (BOOL)shouldAutorotate
{
return YES;
}
- (NSUInteger)supportedInterfaceOrientations
{
return (UIInterfaceOrientationMaskPortrait);
}
私はまだそれを横向きではなく縦向きにすることはできません! 助けていただければ幸いです。