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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T01:13:53+00:00 2026-05-31T01:13:53+00:00

I have a problem, I am programming with Monotouch 5.2.8 for IOS 5.1. But

  • 0

I have a problem,

I am programming with Monotouch 5.2.8 for IOS 5.1.

But since the IOS 5.1 update my iPad configs the UISplitViewController so it is docked on the
left side instead of presented as a popover.

It works with IOS 5.0 but in 5.1 i got this problem.

Here is the source code for my UISplitViewController:

splitViewController = new UISplitViewController ();
splitViewController.WeakDelegate = detailViewController;                
splitViewController.ViewControllers = new UIViewController[] {
     navigationController,
     detailViewController                   
};
  • 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-31T01:13:54+00:00Added an answer on May 31, 2026 at 1:13 am

    From Apple’s iOS 5.1 SDK release notes:

    In 5.1 the UISplitViewController class adopts the sliding presentation
    style when presenting the left view (previously only seen in Mail).
    This style is used when presentation is initiated either by the
    existing bar button item provided by the delegate methods or by a
    swipe gesture within the right view. No additional API adoption is
    required to obtain this behavior, and all existing API, including that
    of the UIPopoverController instance provided by the delegate, will
    continue to work as before. If the gesture cannot be supported in your
    app, set the presentsWithGesture property of your split view
    controller to NO to disable the gesture. However, disabling the
    gesture is discouraged because its use preserves a consistent user
    experience across all applications.

    Here (login required).

    UPDATE:

    From what I understand on the above, we can kiss the automatic popover appearance of the master controller goodbye in iOS 5.1.

    The only way I see is possible to keep the “old” appearance, is by implementing our own UIPopoverController and taking advantage of the ShouldHideViewController delegate method. Thankfully with MonoTouch, we have that method available as a property in the UISplitViewController class, making things a bit simpler.

    I do get a strange behavior though. With iOS SDK 5.1 on my Mac and iOS 5.1 on my iPad; on the device, I get the “sliding” appearance, while on the simulator I get the “old”, popover appearance. This is with MonoTouch 5.2.4, which is the latest stable version. Also, it does not contain a PresentsWithGesture property. I tried setting its value to false through MonoTouch.ObjCRuntime messaging, but no luck. The selector keeps returning true. So I cannot deactivate the swipe gesture.

    Even tried creating my own UIPopoverController and assigning it as the master in the split controller to see what happens. Doesn’t work because UIPopoverController is not a UIViewController…

    Some useful info in this question, for ObjC.

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

Sidebar

Related Questions

i'm studying iOS programming. but i have a problem, which is opaque. now assume.
I was practicing the dynamic programming problem on SPOJ. But I have no idea
I just started to learn iOS programming and I have a problem with inheritance.
I just started to learn iOS programming and I have a problem with inheritance.
I have started using Vim for my C(++) programming. But I have 1 problem.
I've got a philosophical programming problem. Let's say I have a class named Employees.
I have recently started programming in WPF and bumped into the following problem. I
This is basically a math problem, but very programing related: if I have 1
I have a problem programming with Android SDK 1.6. I'm doing the same things
I have a little problem in object programming in javascript There is a class

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.