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
Post a Comment