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

c# - Textbox not clickable but editable -

php - how to change mysql_result($res, 0, "url"); to mysqli -

Matlab transpose a table vector -