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 09-11-2009, 10:46 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 4
Question CATransform3DMakeRotation in landscape mode

Hi,

I've got some code that does a 3D rotation transformation on my UIViewController's layer. When my phone is in portrait orientation, my code works great. But when I'm in landscape orientation, I get unexpected rotations.

For example, if I set my transform to CATransform3DIdentity and run this code in landscape orientation, the behavior is equivalent to doing a 90 degree rotation around the z-axis in portrait orientation. The same code in portrait mode does absolutely nothing (as you'd expect).

I can't figure out what's going on. Can anyone enlighten me? I'd really like to understand this behavior.

TIA,

Polly
pollyp is offline   Reply With Quote
Reply

Bookmarks

Tags
catransform3dmakerotation, landscape, orientation, portrait

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: 250
21 members and 229 guests
ADY, bookesp, ckgni, dacapo, Dani77, DarkAn, Davey555, Desert Diva, HemiMG, iDifferent, jakerocheleau, JasonR, LEARN2MAKE, nobre84, prchn4christ, Rudy, ryantcb, Speed, themathminister, theone8one
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,885
Threads: 89,230
Posts: 380,766
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 02:39 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0