Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 75885

[IOS] Bug on IsGestureEnabled of MasterDetailPage

$
0
0

Hello there,
currently working on an application where the SideMenu is desactivated on certain page, so i use IsGestureEnabled= false, and true when go back.
It works well on Android, but on IOS it never reactivated. IsGestureEnabled = false is Ok, but isGestureEnabled=true did not do anything.

//TODO find a Hack because IsGestureEnabled = true bug on IOS
//HACK desactivated on IOS for now
if (Device.OS != TargetPlatform.iOS)
if (((BaseViewModel)page.BindingContext).IsSideMenuActivated)
((MasterDetailPage)Application.Current.MainPage).IsGestureEnabled = true;
else
((MasterDetailPage)Application.Current.MainPage).IsGestureEnabled = false;

Any idea ?
Thanks !


Viewing all articles
Browse latest Browse all 75885

Trending Articles



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