objective c - UISplitViewController, make MasterView appear programmatically in portrait iOS 8 -



objective c - UISplitViewController, make MasterView appear programmatically in portrait iOS 8 -

i'm trying implement splitviewcontroller in ios 8, due nature of detailview (horizontal collectionview), default behavior (swiping left right) making masterview visible can't used.

so i'm trying implement behavior programmaticaly. i've tried send swipe gesture root view of detailview, won't either. i've looked through of answers here on so. of them suggest using method:

[splitviewcontroller willrotatetointerfaceorientation:self.interfaceorientation duration:0];

this method deprecated in ios 8. help/lead on matter appreciated.

found solution create masterview appear without swipe in portrait mode.

[self.splitviewcontroller setpreferreddisplaymode:uisplitviewcontrollerdisplaymodeprimaryoverlay];

ios objective-c uisplitviewcontroller

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -