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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T05:09:15+00:00 2026-06-12T05:09:15+00:00

UPDATE I ended up fixing the issues with MGSplitViewController, so I am now using

  • 0

UPDATE

I ended up fixing the issues with MGSplitViewController, so I am now using this fork of the project: http://github.com/ArtSabintsev/MGSplitViewController At the time of writing this edit, the fork hasn’t been pulled into Matt Gemmell’s master branch.

Please Note

  1. My iPad app is Landscape only, and is iOS5 and iOS6 compatible
  2. I have a partially working solution, but I need to take it one step further.
  3. For the majority of the screens in my app, I need to present both the master and detail views (normal behavior).
  4. At one point, I need to only the detailVC to be present.

How am I doing it now?

I am using the following UISpliterViewControllerDelegate Method

- (BOOL)splitViewController:(UISplitViewController *)svc shouldHideViewController:(UIViewController *)vc inOrientation:(UIInterfaceOrientation)orientation
{
    return self.hideRootViewController;
}

where hideRootViewController is a boolean that is set to NO initially.

The Partial Solution

If I change the boolean to YES (in any screen/VC in my app) and rotate the screen, the masterVC disappears, and the detailVC occupies the entire screen.

The Remaining Problem

How do I force this change without physically having to rotate the device, or how do I force a device orientation notification change to redraw UISplitViewController?

The following attempts have failed:

  1. CGAffineTansformation (Identity and small angle transformations)
  2. Posting a UIDeviceOrientationDidChangeNotification
  3. Calling setNeedsLayout on splitVC.view
  4. Presenting and immediately dismissing modalVC’s on splitVC

Note: I am not using MGSplitViewController, nor do I want to use that class in this project.

  • 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-12T05:09:17+00:00Added an answer on June 12, 2026 at 5:09 am

    Why dont you use mgsplitviewcontroller. I used it in my project, it works wonderful and very easy implement. You can able hide/switch master view easily.

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

Sidebar

Related Questions

Update: We ended up using a process very much like this schema (thanks to
UPDATE: I'm getting this error: (No route matches /docs/index.html... ) when accessing admin.example.com/docs/index.html The
UPDATE: I ended up giving up and added GHUnit to my project instead. I
I am using the script from this answer https://stackoverflow.com/a/1681410/22 to insert a launch application
Is a method such as OnClosed(EventArgs e) called? Update Ended up using code from
Update: I reported this as a bug to Apple and they fixed it! All
UPDATE: I've been playing around with this more, and it seems like tmux's clear-history
Update : This is no longer an issue from C# 6, which has introduced
I'm using UDP for the first time and I'm wondering if there is a
I have in my web project a time consuming function. While the function is

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.