I think GridView is a very common view in many situation. As a beginner in iOS, I just wonder why iOS didn't provide a GridView class. So here's my question, how to design and create a GridView using UIScrollView or UITableView? or is there some other solution to create a GridView?
You can use UICollectionView to create a nice gridview. It's simple to use. It is available in iOS 6.0 and later.
https://developer.apple.com/documentation/uikit/uicollectionview
GitHub is the best place to search for open source solutions, so try to use it next time. Check DTGridView or PF-GridView
This question has been asked before:
Grid view in iPhone SDK
Personally I recommend AQGridView.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With