Disable / change "swipe left" behavior on iPad with wizard / detail setting

I have a master / detail section view configuration in my iPad app. If I scroll to the left (or indeed, just swipe right in the detail view, whether I start at the left edge of the screen or not) it opens the slideshow.

The problem here is that my detail view is this MKMapView

, so if I put my finger on the map and move my finger to the right (to pan left) the main view opens! I have to start dragging my finger in the other direction and then go to the right to pan correctly.

Is it possible to change this behavior:

  • So it is completely disabled (only to open the main view from the back button)

  • So it only affects swipes in verbose that are not above the map

  • So it only starts if the swipe starts at the edge of the screen.

Thank!

+3


source to share


2 answers


Yes, you can disable this behavior. Set the presentsWithGesture

split view controller property NO

to to disable gesture validation.



+7


source


Isn't that the IsGestureEnabled setting for the MasterDetailPage?



0


source







All Articles