Detect which image was clicked in UIImageView with animationImages

前端 未结 4 1769
耶瑟儿~
耶瑟儿~ 2020-12-20 08:50

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:15

    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.

提交回复
热议问题