Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 12-28-2008, 12:45 PM   #3 (permalink)
ambiensignal
Registered Member
 
Join Date: Dec 2008
Posts: 145
ambiensignal is on a distinguished road
Default

I had trouble with this same thing and this is what I found:

[[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];

Try that out.
ambiensignal is offline   Reply With Quote
 

» Advertisements
» Online Users: 397
16 members and 381 guests
Alexanskoo, AragornSG, aziz, casgali78, EvilElf, freewind, gogoman, hrushikeshaddon, juanramoney, pipposanta, QuantumDoja, roelien, Sami Gh, smashing, tymex, zulemamn37
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,607
Threads: 94,084
Posts: 402,783
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Alexanskoo
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:38 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.