↧
Answer by Mischanya Schtrigel for How to animate a UIImage constraints in...
First of all you have to drag and drop your constraint into your view controller, to make an outlet. The same way you are doing it with UIImageView or UITableView, etc.Actually, for those who have...
View ArticleAnswer by heyfrank for How to animate a UIImage constraints in Swift 4
I think you're confusing UIImage with UIImageView. The first one is the image's data representation, the second one is the View that displays the UIImage.So I guess you want to move around the...
View ArticleAnswer by Shehata Gamal for How to animate a UIImage constraints in Swift 4
Hook the leading , trailing , CenterX OR CenterY constraint of the UIImageView and do this self.imageLeadCon.constant = // valueUIView.animate(withDuration: 3.0 , animations: {...
View ArticleHow to animate a UIImage constraints in Swift 4
I am making a card app and I need to make an animation so that a card would change its constraints to move to another place. How would I do this for a UIImage.
View Article