一般来说UIProgressView控件不可改变高度,找到以下代码解决这个问题:
CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 3.0f); progressView.transform = transform;
需要导入CoreGraphics.framework包
一般来说UIProgressView控件不可改变高度,找到以下代码解决这个问题:
CGAffineTransform transform = CGAffineTransformMakeScale(1.0f, 3.0f); progressView.transform = transform;
需要导入CoreGraphics.framework包