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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -