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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 02-09-2009, 07:23 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 21
Default Autorotation - loading views in the correct orientation

I'm having a small problem with autorotation with the way I have my view controllers set up...
In order to save memory, whenever I switch to a view, I load up that view and throw the previous view out completely. This presents a problem when it comes to autorotation. No matter what orientation I have my device, it will load up the view in the Portrait orientation (even if that particular view has the shouldAutorotateToInterfaceOrientation: set to return false for portrait). Is there some sort of method I can call or override that would force the view controller to recheck the device's orientation and perform the autorotation?
death_au is offline   Reply With Quote
Reply

Bookmarks

Tags
autorotation, orientation, rotation, view controllers

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 244
15 members and 229 guests
ADY, AragornSG, Dani77, Dattee, Duncan C, fkmtc, HDshot, HemiMG, Promo Dispenser, Punkjumper, Rudy, sacha1996, sneaky, spiderguy84, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,231
Posts: 380,768
Top Poster: BrianSlick (7,129)
Welcome to our newest member, bookesp
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0