Port of SGViewPager for Xamarin.iOS
Grab the latest version from NuGet
> PM Install-Package SGTabbedPager
or for MvvmCross
> PM Install-Package SGTabbedPagerMvx
Make your UIVievController inherit from SGTabbedPager or if you are using MvvmCross SGTabbedPager<TViewModel>. Implement the ISGTabbedPagerDatasource interface to provide pages to the pager.
Make sure you set the DataSource on your ViewControll to your ISGTabbedPagerDatasource implementation.
Use TabColor to set the color of the indicator on each tab item.
See the Sample for usage.
Use the event OnShowViewController to get the index of the selected UIViewController.
OnShowViewController += (s, e) => Console.WriteLine($"Showing Page {e}");
Use the ShowOnBottom proprety to show the tabbed pager bar on the bottom. This will adjust the Constraints to position it on the bottom of the page.
See the License file.
