ios - How to achieve this animation in UICollectionView while clicking a cell of it? -


i got requirement achieving animation shown in video in following link. cell expansion

the animation require when click done on uicollection cell , goes detail view. how achieve this?

you can retrieve location of cell in

- (void)collectionview:(uicollectionview *)collectionview didselectitematindexpath:(nsindexpath *)indexpath 

after have x,y,w,h can create "popviewcontroller"

just change animation animation need , add shade or border give more effect) check here border , shadow

for animation can use:

[uiview animatewithduration:0.5f animations:^{ code }]; 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -