Difference between revisions of "256b-winter-2010/degotchafier"

From CCRMA Wiki
Jump to: navigation, search
(weblink provided solutions)
(weblink provided solutions)
Line 7: Line 7:
  
 
== weblink provided solutions ==
 
== weblink provided solutions ==
*If you are using a UITabBarController and the auto-rotate functions do not work, follow [[http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/|this simple tutorial]].
+
*If you are using a UITabBarController and the auto-rotate functions do not work, follow [http://arashpayan.com/blog/index.php/2008/09/04/change-iphoneipod-app-orientation-within-a-uitabbarcontroller/ | this simple tutorial].
  
 
== student provided solutions ==
 
== student provided solutions ==
 
* certain objects, such as UIAlertView's, do not switch to landscape mode even when your plist is set.
 
* certain objects, such as UIAlertView's, do not switch to landscape mode even when your plist is set.
 
To make certain that everything starts in landscape, drop in: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO]; in your didFInishLaunching. If you would like your home button to the left, use: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:NO];
 
To make certain that everything starts in landscape, drop in: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO]; in your didFInishLaunching. If you would like your home button to the left, use: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:NO];

Revision as of 02:44, 3 March 2010

Music 256b De-Gotcha-Fier

This page is intended to host solutions to those annoying little things that pop up while we're programming, especially those that take hours to solve and end up being very simple solutions. It is often difficult to find that "silver bullet" solution to a problem, but this wiki is dedicated to just that.


weblink provided solutions

  • If you are using a UITabBarController and the auto-rotate functions do not work, follow | this simple tutorial.

student provided solutions

  • certain objects, such as UIAlertView's, do not switch to landscape mode even when your plist is set.

To make certain that everything starts in landscape, drop in: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeRight animated:NO]; in your didFInishLaunching. If you would like your home button to the left, use: [application setStatusBarOrientation:UIInterfaceOrientationLandscapeLeft animated:NO];