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 7405853
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T05:28:01+00:00 2026-05-29T05:28:01+00:00

Is there a way to lock the interface orientation in my app other than

  • 0

Is there a way to lock the interface orientation in my app other than the usual shouldRotate… method?
I’m looking for a way to lock the current orientation similar to the lock-button of ios, which will override all app settings and lock the orientation. Is there possibly a way to even set the iOS orientation log progamatically?
If not, should it be sufficient to implement shouldAutorotateToInterfaceOrientation in one visible view to block rotation for the whole app?

  • 1 1 Answer
  • 0 Views
  • 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-29T05:28:02+00:00Added an answer on May 29, 2026 at 5:28 am

    You can specify which orientations are supported by your app in the info.plist, using the key:

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

Sidebar

Related Questions

Is there a way in Java to get a method to lock (mutex) the
Possible Duplicate: Interface Builder Lock Item Positions? Is there a way to lock the
When working with UI items in Interface Builder is there any way to lock
Is there a way to lock the orientation of a UIWebView? With Obj-C, JS,
Is there a way to lock orientation during runtime? For example I'd like to
Is there a way to lock a row in the SQL 2005-2008 database without
Is there a way to automatically lock an STL container on access, without having
Is there a way to emulate a disk drive in .NET, intercepting read/write/lock operations?
In c#, is there a way of updating a variable (without using lock) where
Is there a way to lock a Mysql table only for write, so that

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.