chaosifier / TabView

TabView control for Xamarin.Forms.
MIT License
124 stars 32 forks source link

The sample application is not working for iOS. #1

Closed ngalicoco closed 6 years ago

ngalicoco commented 6 years ago

It works great for Android and UWP, for iOS though the tabs are displayed, but the content is not.

alejandroschmechel commented 6 years ago

yeah, same thing here

TheRealNyquist commented 6 years ago

I had the same problem. Since TabView relies on CarouselView you need to call the following line after the Xamarin.Forms.Init() in your iOS AppDelegate.cs:

CarouselViewRenderer.Init();

After that the control worked perfectly.

chaosifier commented 6 years ago

Thank you @TheRealNyquist. I had mentioned in readme that it relies on CarouselView. I think I should also have mentioned that CarouselView needs to be initialized first for TabView to work properly.