i'm developing an ios app with xamarin, only code, without StoryBoard, or any designer. i need to implement a UiViewController that contains many images, and scrolls horizontally, just like this.
I don't have found anything suitable for me. so someone have some suggestion or some example to show me?
Seems like you need a
UIPageViewController
without storyboard or .xib.You need 3 custom classes to implement it.
MyPageViewController
- A customUIPageViewController
PageDataSource
:ContentViewController
- A customUIViewController
, just need to add the propertyIndex
And finally, override the
FinishedLaunching
method in yourAppDelegate.cs
:Hope it can help you.
If you still have some questions, just leave it here.