[英]Loading circle animation in iphone
How can I display the loading screen animation in iphone? 如何在iPhone中显示加载屏幕动画? I mean the bars arranged in circles.
我的意思是条形排列成圆圈。 So that I can use it while some of the part of my app is loading, like initializing.
这样我就可以在应用程序的某些部分加载时使用它,例如初始化。 Or should I create may own animation loading?
还是应该创建自己的动画加载?
Thanks. 谢谢。
That's a class called UIActivityIndicatorView. 那是一个叫做UIActivityIndicatorView的类。 You can either instantiate it as you would any other view in your code or you can drop it into a nib with Interface Builder.
您可以像在代码中的任何其他视图一样实例化它,也可以使用Interface Builder将其放到笔尖中。
该小部件称为UIActivityIndicatorView
。
这是一个在等待某些事情发生时创建加载视图的好例子http://cocoawithlove.com/2009/04/showing-message-over-iphone-keyboard.html
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.