Today just a small code snippet to create a nice fade-in-fade-out (or call it pulsating) effect on a given UIImage . To accomplish this within a UIView you have to do only a few steps:
- Create a
UIImageViewcontaining your image. - Create the animation with its properties.
- Set the animation for the specific layer containing your image.
In words of code you will have to do something like the following:
Leave a Reply