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 01-19-2010, 11:10 AM   #1 (permalink)
Registered Member
 
Join Date: Nov 2009
Posts: 33
Default How to rotate a view with a fixed background

Hello,

I have 2 views. One is a view with a dynamic content (which is the background of my application) (let's name it backgroundView). The other is a classic view with buttons, etc. (let's call it classicView)

The default app orientation is portrait.

Now, when the device is rotated landscape, only the classicView should rotate, while the backgroundView should remain in the same position.

How can I do that? If I set shouldAutorotateToInterfaceOrientation, both of them will rotate.

Then I tried to set the two views in different view controllers, but the method doesn't work anymore. I mean, they are subviews of window, but if I set the shouldAutorotateToInterfaceOrientation in the classicViewController, it doesn't rotate anymore.

Who can solve this?

Last edited by DevSdk; 01-19-2010 at 11:13 AM.
DevSdk is offline   Reply With Quote
Reply

Bookmarks

Tags
background, landscape, rotation, view

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: 240
19 members and 221 guests
ADY, AragornSG, BrianSlick, Dani77, Dattee, dre, glenn_sayers, HemiMG, JasonR, karlam963, nobre84, Oral B, prchn4christ, Raggou, Rudy, spiderguy84, themathminister, viniciusdamone, vvenkatachallam
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,884
Threads: 89,229
Posts: 380,763
Top Poster: BrianSlick (7,129)
Welcome to our newest member, karlam963
Powered by vBadvanced CMPS v3.1.0

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