Rather than creating two UIImageViews, it seems logical to simply change the image of one view. If I do that, is there anyway of having a fade/cross dissolve between the two images rather than an instant switch?
Rather than creating two UIImageViews , it seems logical to simply change the image
Share
Edit: there is a better solution from @algal below.
Another way to do this is by using predefined CAAnimation transitions:
See the View Transitions example project from Apple: https://developer.apple.com/library/content/samplecode/ViewTransitions/Introduction/Intro.html#//apple_ref/doc/uid/DTS40007411