ios - Master Table Application -
i using basic ipad master table application uses portrait orientation only. wish stop masterviewcontroller appearing when swipe right (making accessible button). solution simple unfortunately self taught newbie.
this new feature of uisplitviewcontroller
introduced in ios 5.1.
in order disable feature, implemented new property called presentswithgesture
turn on , off.
apple highly recommends leave on people grow expect work way, if must disable it, somewhere in code need add this:
self.splitviewcontroller.presentswithgesture = no;
or, if creating splitviewcontroller manually set presentswithgesture
no.
Comments
Post a Comment