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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T08:23:53+00:00 2026-06-09T08:23:53+00:00

I am using storyboard and have my app set to be only horizontal left

  • 0

I am using storyboard and have my app set to be only horizontal left and right. I have a view controller where I click to go to my next view and do whatever, and when I am done I click the back button. What happens is when I click the back button the horizontal view switches to portrait and messes my whole app up. I have my segues set as push, but I did have them at modal.

enter image description here

Then it goes to my next screen

enter image description here

When I click back, it for some reason switches to portrait and looks like this:

enter image description here

I have no idea why it would do this… Has anybody else had this problem or have an idea of whats going on???

  • 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-06-09T08:23:55+00:00Added an answer on June 9, 2026 at 8:23 am

    You need to go through and set your rootViewController’s orientation to landscape only. Then make sure all other viewControllers orientations are set to inferred.

    It is also a good idea if you haven’t already to go into your info.plist and make sure you have supported only landscape orientations.

    Also you may need to add some code to your viewControllers that looks something like this:

    - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
    {
        return (interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIInterfaceOrientationLandscapeLeft);
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I set up my app using a storyboard and have my main view controller
I am building an app using storyboard. I have added a table view to
Using storyboard, I have a table view controller containing multiple dynamic prototype cells. One
I have a storyboard based app with a navigation controller as the initial view
I have this iPad app using Storyboard. There are some file that are marked
I'm trying to design my app's interface in IB using a storyboard and have
Im using Storyboard for most screens in my iPhone app. However, I have one
I am using a storyboard and I have added iAd banner to my view.
I did two sample applications in ios.Both applications i have done using storyboard.Then after
I created an app using the iOS 5 Storyboard feature, and have decided I

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.