uitableview - Display UIImageView contained in UITableViewCell fullscreen with animation when tapped -
i've uiimageview
inside custom uitableviewcell
, want display fullscreen when tap on it. i've attached uitapgesturerecognizer
uiimageview
, image resizes. problem have right image moves inside cell contained in, should in fact move out of it. i'd put black background behind image.
any ideas on how achieve that?
i culprit either cell, or cells content view clipstobounds
enabled. setting [cell setclipstobounds:no];
should solve problem.
however, if you're willing take new approach this, may beneficial instead of growing cells imageview, add new image above tableview in same location cell's image view , grow that. way wouldn't have undesirable behavior being able scroll image view away because table still scrollable.
Comments
Post a Comment