Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top