Domanda

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?

È stato utile?

Soluzione

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.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top