Here i need the grid layout for creating similar to the photo album page,But in that page i am having thousands of images so that, i am using uitableview
GridView can be done using UITableView
. One way u can do it is have a custom UITableViewCell & have 2 imageViews with tag 1 & 2. That way when u access that view in cellForRowIndex...
you can extract that imageView & populate...
You can do this or u can use what others have already done -
how to design and create a GridView using UIScrollView or UITableView
How To Create A Gallery on iOS
https://stackoverflow.com/questions/6430012/ios-grid-view-with-section-headers
create a custom cell extending UITableViewCell
.
Add UIImageView to it. assign images on - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
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