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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:37:31+00:00 2026-06-17T16:37:31+00:00

I have inherited an iOS app that has not been maintained since iOS 3

  • 0

I have inherited an iOS app that has not been maintained since iOS 3 era. The app relies on a web view to display some data. One of the feature is displaying the video in a full screen mode. What the client needs is a video reacting to the device rotation but all other views should be only portrait.

I’ve managed to figure out all the window.rootViewController and shouldAutorotate changes. I get the app to rotate only when I want. The problem I am facing is the video rotation ‘too much’.

If I rotate the device left, the video rotates by 180 degrees (it goes into upside down orientation). Rotating back to the right causes the view width to shrink by half but the orientation is correct. I am not quite sure where the problem could be.

Anyone had similar issues?

  • 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-17T16:37:32+00:00Added an answer on June 17, 2026 at 4:37 pm

    I did have the same problem by inheriting a project. In my case, the application is navigation based, and the problem was that the main UINavigationController‘s view was being added as a subview of an UIViewController‘s view.

    So, initially I had this code on my application:didFinishLaunchingWithOptions::

    self.viewController = [[MyViewController alloc] init];
    self.window.rootViewController = self.viewController;
    

    and this on MyViewController‘s viewDidLoad:

    UINavigationController *navController = [[UINavigationController alloc] init];
    [self.view addSubview:navController.view];
    

    Then I simply changed my application:didFinishLaunchingWithOptions: to this:

    self.viewController = [[MyViewController alloc] init];
    self.navigationController = [[UINavigationController alloc] initWithRootViewController:self.viewController];
    self.window.rootViewController = self.navigationController;
    

    I hope this helps you!

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

Sidebar

Related Questions

I have inherited a program that has a number of issues with it. The
I have an app in iTunes that works fine on iOS 4.3 & 5.
In my app, I have many different functions. These are view controllers that are
I have an iOS app that is sending fairly large JSON POST parameters (a
I have a view that has many textfields and values inserted into them. Now
I have inherited a Access database that has a query that SELECTs over 50
I have inherited some code that has a set of real-time values that are
I have inherrtied an IOS project that was being built primarly for iphone. When
We have inherited an application (Java-based, running on WebLogic 10.3.5) that makes extensive use
I have inherited some HTML code and have been asked to align the two

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.