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 > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 06-01-2010, 03:28 PM   #1 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 3
raskar is on a distinguished road
Unhappy iPhone rotation support! Pls help

Hi ..

I have a UIViewController based project with both UINavigationController and UITabBarController used.

I am truing to activate rotation on one of the views in my application by returning YES to shouldAutorotateToInterfaceOrientation call. By setting a breakpoint, this event does get called every time I rotate the device.. but the actual screen does not rotate!!

What i am trying to rotate is a photo displayed within UIScrollView. So basically, its similar to the iPhone Photo Album application. I just can't get the photos to display in landscape orientation.

I read many posts similar to my problem, some even posted simple apps where rotation works. I cant see why mine is any different from theirs!! Is it something i am missing in IB?

Thanks
raskar is offline   Reply With Quote
Old 06-02-2010, 11:17 AM   #2 (permalink)
Registered Member
 
Join Date: May 2010
Posts: 3
raskar is on a distinguished road
Default

Please any suggestions?
Thanks
raskar is offline   Reply With Quote
Old 07-09-2010, 01:30 PM   #3 (permalink)
Registered Member
 
Join Date: Jul 2010
Posts: 1
Wolfy is on a distinguished road
Default

I think you need to enable rotation in all your views.
At least you do in table views. Not sure how it works with the TabBar.
Check out the iTunes U video "Session 337 - Understanding iPhone View Controllers" Hope it helps.

Quote:
Originally Posted by raskar View Post
Hi ..

I have a UIViewController based project with both UINavigationController and UITabBarController used.

I am truing to activate rotation on one of the views in my application by returning YES to shouldAutorotateToInterfaceOrientation call. By setting a breakpoint, this event does get called every time I rotate the device.. but the actual screen does not rotate!!
Wolfy is offline   Reply With Quote
Old 07-09-2010, 06:24 PM   #4 (permalink)
Registered Member
 
Join Date: Sep 2008
Location: London, UK
Posts: 1,050
wuf810 is on a distinguished road
Default

Quote:
Originally Posted by Wolfy View Post
I think you need to enable rotation in all your views.
At least you do in table views. Not sure how it works with the TabBar.
Check out the iTunes U video "Session 337 - Understanding iPhone View Controllers" Hope it helps.
Wolfy is correct - enable for all your views attached to each tab. Search these forums as it has been discussed many many many and many more times.
wuf810 is offline   Reply With Quote
Reply

Bookmarks

Tags
landscape, orientation, portrait, rotation

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: 339
12 members and 327 guests
ajay123123, Anwerbl, ashaman64, baja_yu, ChrisYates, HemiMG, mini998, mottdog, newDev, Objective Zero, pkIDSF, Steven.C
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,649
Threads: 94,113
Posts: 402,878
Top Poster: BrianSlick (7,990)
Welcome to our newest member, Anwerbl
Powered by vBadvanced CMPS v3.1.0

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