如何增加UIProgressView的高度 [英] How to increase height of UIProgressView

查看:150
本文介绍了如何增加UIProgressView的高度的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在从 nib 创建 UIProgressView 。我想增加它的高度,但它固定为9.对于 iPad 我需要增加其高度。如何做?

I am creating UIProgressView from nib. I want to increase its height but it is fixed to 9. For iPad I need to increase its height. How it can be done?

提前感谢。

推荐答案

您不能通过nib更改UIProgressView的高度。
如果你想改变高度,你必须通过自定义绘制方法实现它。

You can not change the height of UIProgressView through nib. If you want to change the height then you have to implement it through custom draw method.

这篇关于如何增加UIProgressView的高度的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆