Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 909149
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T16:49:48+00:00 2026-05-15T16:49:48+00:00

I see a few questions about this here, but I can’t really understand what

  • 0

I see a few questions about this here, but I can’t really understand what exactly I should do to implement rotation of UIViews.

I have two Default pngs for Landscape and Portrait mode, but how the view knows that at a particular time it has to rotate his own content? What methods I should implement, and what allows me to change orientation when the device is rotated/change orientation when the app starts with the device not in default orientation?

I should implement also a callback for orientation change notification? And, if yes, how can I do all this?

I just need some clear information. I’m a bit confused.

Thank you in advance,
—Albé

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T16:49:49+00:00Added an answer on May 15, 2026 at 4:49 pm

    I think what you might be looking for is actually on the UIViewController. See Responding to View Rotation Events in the class reference, and of course the View Controller Programming Guide. Your view controller instance will get these messages from the OS as it monitors the device state, and it is the standard prescription for responding to basic device orientation change.

    If for whatever reason, you determine that this easy, native functionality for rotation is inadequate for you, you can of course manipulate UIView’s however you like. That is detailed in the Core Animation Programming Guide, essentially you manipulate the geometry by changing the Layer transform with functions like CATransform3DMakeRotation.

    This SO article has good info on best practices.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a few thoughts on this but I can see problems with both.
I watched few videos/webcasts about Oslo but I still fail to see how it
I know there are plenty of questions here already about this topic (I've read
There are a few questions that approach an answer to this question, but none
First of all, I know there are a few other StackOverflow questions about this
Ok I feel really stupid asking this. I see plenty of other questions that
See here: http://jsfiddle.net/zYcJm/ The jQuery should be validating each field to check if they
I have a few quick questions about the iPhone software development. I did some
I realise there are numerous questions on here asking about choosing between XNA and
I have a few basic questions about the Dispose Pattern in C#. In the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.