mirror of
https://github.com/NohamR/knowledge-kit.git
synced 2026-05-26 13:41:32 +00:00
feat: 初始化
This commit is contained in:
8
第一部分 iOS/1.18.md
Normal file
8
第一部分 iOS/1.18.md
Normal file
@@ -0,0 +1,8 @@
|
||||
* 对于不能调节高度的控件比如 UISlider、UISwitch、UIProgressView 等控件的宽高可以用 \(仿射变化\)transform 属性控制高度。
|
||||
|
||||
```
|
||||
myswitch.transform = CGAffineTransformMakeScale(1,5);
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user