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?
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.
精彩评论