swift - How to make an effect of expandable UICollectionView cell in iOS -


i have collection view 3x3. item (collection cell) contains icon , label. want additional text shown inplace when user touches cell. view text must fullscreen width. in other words want insert view text between collection rows. it's desirable view appears animation.

how should that? first ideas i've got are:

  1. divide collectionview rows sections , use section footer purpose. make footer of 0 size , show when needed.
  2. dynamically create full-width cell , insert @ end of row selected item located.

both methods seems tricky me. maybe there more straight forward way?

any ideas? thanks!


Comments

Popular posts from this blog

amazon web services - S3 Pre-signed POST validate file type? -

c# - Check Keyboard Input Winforms -