开发者

How show that label content is loading?

for my app I need to load some content f开发者_运维知识库rom my webservice. I want to display it within a simple UILabel. This works fine so far.

But since the request is asynchronous the process might take some time.

Now I want to indicate the loading process with a little image like you see in the picture.

Is that a buildin-feature in xcode4 somewhere in the interface-builder? Is it possible to assign an image to a UILabel and how do I do that?

How show that label content is loading?


There is the UIActivityIndicatorView which can be told to start and stop animating. You can eve say to hide when it stops animating so you can bind this view to the logic of showing your label.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜