其他提示

我认为UIProgressView有两种样式。默认情况下引用为UIProgressViewStyleDefault,而您引用的默认值称为UIProgressViewStyleBar。

这些设置如下 yourUIProgressView.ProgressViewStyle = UIProgressViewStyleBar;

默认设置任何内容。

当SDK仍然是NDA并且在使用IB之前,她写了她的书。在此之后发生了许多变化。

它是 UIProgressBar ,UIProgressView的私有子类。

您可以通过这种方式使用它,但Apple可能拒绝您的应用:

[[NSClassFromString(@"UIProgressBar") alloc] initWithFrame:CGRectMake(0.0f, 0.0f, 100.0f, 90.0f)];
scroll top