Here I need a grid layout to create a photo album similar to the page, but on this page I have thousands of images, so I use uitableview
create a custom cell extending the UITableViewCell .
UITableViewCell
Add a UIImageView to it. assign images to - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
GridView can be done using UITableView . One way you can do this is to create a custom UITableViewCell and have 2 images with tags 1 and 2. So when you access this view in cellForRowIndex... you can extract that image and populate ...
UITableView
cellForRowIndex...
You can do it, or you can use what others have already done -
how to create and create a gridview using a UIScrollView or a UITableView
How to create a gallery on iOS
https://stackoverflow.com/questions/6430012/ios-grid-view-with-section-headers
Source: https://habr.com/ru/post/1399717/More articles:Android certificate installation - androidIs it possible to restore the window status after the maximum window? - vimFlash CS 5 Professional, how do I know where clips are used? - flashHow to get Soundpool duration - androidZend_Auth expiration - zend-frameworkunderstanding jtransform - javaOpenXML, PresentationML Table height and line height when wrapping words - c #View read-only properties for the Eclipse editor - eclipseHow to cancel a browser session in JSF - javaUsing a PHP variable in JavaScript for Google Maps V2 - javascriptAll Articles