I have set up a couple of images that I need to automatically transition to the other and up till that point everything works great. Here is my code:
image1 = UIImage(named: "loginBg1.png")
image2 = UIImage(named: "loginBg2.png")
images = [image1, image2]
animatedImage = UIImage.animatedImage(with: images, duration: 3)
backgroundImageView.image = animatedImage
Now the thing is, I need them to fade when they transition. Basically I need to add a fade transition in between of the animation.
Also, if you have the experience I want to add a ken burns effect to the images as in it should pan/zoom on each image before transition and after.