Quantcast
Channel: Active questions tagged react-native+ios - Stack Overflow
Viewing all articles
Browse latest Browse all 16750

Prevent Lockscreen / Notificationcenter from swiping down in react-native

$
0
0

Starting with iOS 11 the behavior to prioritize own gestures over the system gestures on screen edges changed.

Previously iOS assumed that if you hide the status bar you want your gestures on screen edges to be fired first.

Now you have to override the preferredScreenEdgesDeferringSystemGestures method to achieve the same result as explained here: https://useyourloaf.com/blog/avoiding-conflicts-with-system-gestures-at-screen-edges/.

How can we do that in react-native? Is this already dealt with in a recent version or not? I can't find any reference to that method in the react-native source code.


Viewing all articles
Browse latest Browse all 16750

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>