paging - UICollectionView - start viewing from a particular indexpath -


i creating uicollectionview paging enabled. each collection view cell full screen image. default able view cells index 0 (first cell). want start viewing cell particular cell index. can tell me how that?

got working.

from first view controller pass index path of photo have scroll. in viewdidload of collection view set collection view , use method - scrolltoitematindexpath:atscrollposition:animated: set animated no , atscrollposition uicollectionviewscrollpositionnone


Comments

Popular posts from this blog

Python Kivy ListView: How to delete selected ListItemButton? -

asp.net mvc 4 - A specified Include path is not valid. The EntityType '' does not declare a navigation property with the name '' -