Hello I am asking you if it is possible to animate the image position with UIView.animate inside an imageView, which is clip to bounds ?
Asked
Active
Viewed 861 times
2
-
Change the UIImageView frame in UIView.animate. – Salman Ghumsani Sep 13 '17 at 12:38
-
https://stackoverflow.com/questions/28705697/move-uiimage-inside-uiimageview – Naresh Sep 13 '17 at 12:40
-
@SalmanGhumsani I don't want to animate the ImageView but the image inside. – Jimmy Gonçalves Sep 13 '17 at 12:45
-
You can make the UIView parent of UIImageView and move imageview – Salman Ghumsani Sep 13 '17 at 12:46
-
@SalmanGhumsani Yes I thought about that. So it is impossible to move directly the image inside the imageview.. – Jimmy Gonçalves Sep 13 '17 at 12:51
-
We use Image-view as wrapper to display the image if image is a view and capable to display itself so we don't need the image-view! – Salman Ghumsani Sep 13 '17 at 12:53
-
@SalmanGhumsani ok ty :) – Jimmy Gonçalves Sep 13 '17 at 13:07
-
1Possible duplicate of [Move UIImage inside UIImageView](https://stackoverflow.com/questions/28705697/move-uiimage-inside-uiimageview) – dengApro Sep 13 '17 at 14:18