开发者

Accessing to animationDuration and animationRepeatCount in Interface Builder

I'd like to set the animationDuration and animationRepeatCount properties of UIImageView directly in interface builder but I don't see those properties.

Is there a way to choose the properties that are displayed in interface builder ? (Note that I'm using XCode 4)

开发者_开发知识库I want to do this because I have one ViewController that can handle many XIB files so I can't set those properties in the code of the viewController. Moreover each XIB file contains many UIImageView.


As of my knowledge it is impossible to set animationDuration and animationRepeatCount properties of UIImageView in XIB. I hope that you are setting the animationImages in code. Just, set the above two properties in code while you set the animationImages.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜