Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

Extra: remove rotation to landscape

Well, I could not find a new feature to add to a Algoryghtm app, but I found a bug when rotating to landscape - it looks bad, especially at detail view.

So fix it, go to info.plist file and edit it to look like this:

"Supported Interface Orientations" - Array
+ Item 0 "Portrait (bottom home button)" - String
+ Item 1 "Portrait (top home button)" - String

As I understand it allows landscape orientation thruout the app.

1 Answer

If you are trying to remove the app rotation properties, i.e. when the user spins the phone the orientation doesn't change then you can do it in the general build setting.