uicollectionview - iOS CollectionView without cellForItemAtIndexPath -


I have a question, can I use the collection view cellForItemAtIndexPath , Because I align the cell item to use the archive, and redirect the cell to a different controller, if I use the normal cellForItemAtIndexPath and numberOfItemsInSection , then It can not drag different controllers to Ctrl + Right click

If come UICollectionView You must implement Detasrs protocol and must use these methods. You should implement the didSelectItemAtIndexPath method and then a within this method to do "redirect" to a new ViewController Trigger performSegueWithIdentifier .

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -