Detect which image was clicked in UIImageView with animationImages

前端 未结 4 866
無奈伤痛
無奈伤痛 2020-12-20 08:55

We can specify images array for a UIImageview, and it will animate the images very nicely. I have subclassed the UIImageView class.

Now whe

4条回答
  •  無奈伤痛
    2020-12-20 09:09

    Did you try self.image? It should have the current image.

    I hope you need to design your own custom animationView to handle. You may add an imageview to an view and update periodically.

提交回复
热议问题