Frage

I would like to display an indeterminate NSProgressIndicator in my app, but I can't find anything online that tells me explicitly how to do it. Could someone point me to some sort of tutorial or provide me some example code?

War es hilfreich?

Lösung

If you want a progress view (a horizontal bar) you should use UIProgressView. If you want an indeterminate spinning activity indicator, you can use a UIActivityIndicatorView. Both of these can be added to a storyboard or NIB, or can be added programmatically in iOS. Both of those two class references include links to samples.

NSProgressIndicator is not an iOS control.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top