I know the code to make an image grow in size is:
imageView.transform = CGAffineTransformMakeScale(5f, 5f);
But what can I add to this to make that effect take several seconds?
The intended effect is for it to appear as though the app user is slowing getting close to or zooming in on a painting on a wall, so I want to start with the image at a small size and then have it slowly get larger over the course of, maybe, 3 seconds.
Just wrap it in an animation block like so: