Reputation: 39
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?
Upvotes: 1
Views: 2157
Reputation: 438297
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.
Upvotes: 4