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

From CCRMA Wiki
Jump to: navigation, search
(student provided solutions)
(Music 256b De-Gotcha-Fier)
Line 10: Line 10:
  
 
== 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:39, 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

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];