Skip to content

Instantly share code, notes, and snippets.

@jfversluis
Last active February 7, 2020 20:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jfversluis/150b5ac98b8ffd9eba4dfbcdab3562dc to your computer and use it in GitHub Desktop.
Save jfversluis/150b5ac98b8ffd9eba4dfbcdab3562dc to your computer and use it in GitHub Desktop.
// For iOS in the AppDelegate.cs
public override bool FinishedLaunching(UIApplication uiApplication, NSDictionary launchOptions)
{
global::Xamarin.Forms.Forms.SetFlags("SwipeView_Experimental", "CarouselView_Experimental");
Forms.Init();
// The rest of the code...
}
// For Android in the MainActivity.cs
protected override void OnCreate(Bundle bundle)
{
global::Xamarin.Forms.Forms.SetFlags("SwipeView_Experimental", "CarouselView_Experimental");
Forms.Init();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment