I'm attempting to build a UI in Xamarin.iOS which allows a user to vertically scroll through a list of images. I'm unsure what the best approach would be. I have looked at using UITableViewSource however I'm not sure if this would be the best approach.
The data that I want to display is not really tabular it's just a list of images. Is there a way to mould UITableViewSource to just show an image that's as wide as the screen, allowing the user to scroll down through them.
Or would a better approach be adding a ScrollView and adding images to that allowing a user to just scroll down through the scrollView?
Any advice or code samples would be greatly appreciated.
You can use the UITableView to implement what you need, this is a sample.
At first finish you can invoke the sample code like this:
And this is MyTableViewSource.cs:
And this is MyTalbeCell.cs:
Hope it can help you.
If you still need some help, just leave the question here, I will check latter.