• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to remove iPad popover?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to remove iPad popover?


  • Subject: Re: How to remove iPad popover?
  • From: "Gerriet M. Denkmann" <email@hidden>
  • Date: Wed, 15 Apr 2015 09:13:00 +0700

> On 15 Apr 2015, at 08:59, Roland King <email@hidden> wrote:
>
>
>> On 15 Apr 2015, at 09:49, Gerriet M. Denkmann <email@hidden> wrote:
>>
>> On iPad (portrait orientation) there is on the left a MasterView, overlapping the DetailView.
>> (i.e. splitViewController.displayMode = UISplitViewControllerDisplayModePrimaryOverlay)
>>
>> When I tap on the DetailView, the MasterView slides away.
>> (i.e. splitViewController.displayMode → UISplitViewControllerDisplayModePrimaryHidden)
>>
>> How can I do this from code?
>>
>> The obvious way would be:
>> 	splitViewController.displayMode = UISplitViewControllerDisplayModePrimaryHidden;
>> but displayMode is readonly.
>>
>> iOS 8.3
>>
>> Gerriet.
>>
>>
>
> Let’s see if the documentation contains any hints here .. documentation on UISplitViewController’s displayMode ..
>
> "To change the current display mode, change the value of the preferredDisplayMode property.”
>
> I’d probably try that

I read this as meaning “set the general behaviour”.
Indeed: when I set preferredDisplayMode = UISplitViewControllerDisplayModePrimaryHidden then the Primary stays hidden, even if I rotate the iPad to landscape.
This is NOT what I want.

I want: [ splitViewController hideThePrimaryViewExactlyAsWhenOneTappsOnTheSecondaryView ];

Kind regards,

Gerriet.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: How to remove iPad popover?
      • From: Dave Fernandes <email@hidden>
References: 
 >How to remove iPad popover? (From: "Gerriet M. Denkmann" <email@hidden>)
 >Re: How to remove iPad popover? (From: Roland King <email@hidden>)

  • Prev by Date: Re: How to remove iPad popover?
  • Next by Date: Re: How to remove iPad popover?
  • Previous by thread: Re: How to remove iPad popover?
  • Next by thread: Re: How to remove iPad popover?
  • Index(es):
    • Date
    • Thread