Last active
February 7, 2020 20:52
-
-
Save jfversluis/150b5ac98b8ffd9eba4dfbcdab3562dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 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