Quantcast
Channel: How to animate a UIImage constraints in Swift 4 - Stack Overflow
Browsing latest articles
Browse All 4 View Live

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 Article


Answer 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 Article


Answer 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 Article

How 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
Browsing latest articles
Browse All 4 View Live