ios - How do I use a UIPageViewController in a UISplitViewController? -


i trying use uipageviewcontroller main view in uisplitviewcontroller, not work paging gestures. instance, if try swipe next page, next page not load until let go of screen (it not call viewcontrollerafterviewcontroller method until stop dragging). works fine next time, annoying , not user friendly. if hide master view controller, page view controller works though. led me believe split view controller might intercepting gestures, tried

[self.splitviewcontroller setpresentswithgesture: no]; 

in viewdidload method of page view controller. had no effect if try

nslog(@"%c", [self.splitviewcontroller presentswithgesture]); 

then turns null, odd because documentation says default presentswithgesture yes... can me figure out doing wrong?


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Add new record to the table by click on the button in Microsoft Access -

javascript - jQuery .height() return 0 when visible but non-0 when hidden -