Support for UIImageView

Modified to take in a UIImageView and not just an image so that
animated UIImageView’s can be passed in.