Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 3 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 13 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 23 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 33 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 43 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 53 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 63 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 73 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 83 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 93 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 103 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 113 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 123 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/content.php on line 133

Default Rotation

When creating an app that should start in landscape mode (mostly games) you should (read must!) support both landscape-left and landscape-right. This is actually a rather simple task, but one thing that has bugged me is that by default the app starts in landscape-left mode (home key to the left). I think it’s way better to start in landscape-right mode, not just because it feels better, most iPad cases (like the Smart Cover and Smart Case) is also designed to be used in landscape-right mode.

But how do you change the default direction? It turned out to be quite simple, you just switch the order of the value-strings for the UISupportedInterfaceOrientations key in the project-info.plist file.

Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 3 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 13 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 23 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 33 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 43 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 53 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 63 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 73 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 83 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 93 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 103 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 113 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 123 Notice: Undefined index: HTTP_REFERER in /home/a/arainydayse/arainydayse/arainyday.se/www/wp-content/themes/twentytwelve/comments.php on line 133