These grid-like layouts are very flexible and customizable, but because UICollectionView and UICollectionViewLayout are independent, simply providing a different UICollectionViewLayout can easily change the presentation style of the UICollectionView. The most commonly-used UICollectionViewLayout is UICollectionViewFlowLayout, which lays out its content views either horizontally or vertically until it reaches the bounds and then wraps around. The layout used by the UICollectionView is controlled by it's CollectionViewLayout property.Ī UICollectionView must have a UICollectionViewLayout. It is a subtype of UIScrollView, so the layouts can span multiple pages. The UICollectionView is a container view that allows the application developer to lay out multiple items on the screen with more flexibility than is provided by a UITableView. INSCoding INativeObject IDisposable IUIDataSourceTranslating IUISpringLoadedInteractionSupporting Remarks
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |