相关疑难解决方法(0)

如何更改UIPickerView的文本大小和组件宽度?

我有以下代码来创建UIPickerView:

pickerView = [[UIPickerView alloc] initWithFrame:CGRectMake(0.0f, 416.0f - height, 320.0f, height)];
pickerView.delegate = self;
pickerView.showsSelectionIndicator = YES;
[pickerView setSoundsEnabled:YES];
Run Code Online (Sandbox Code Playgroud)

我想更改组件宽度并更改每个组件中的文本大小.是否有可能做到这一点?

谢谢!

iphone cocoa-touch

15
推荐指数
1
解决办法
2万
查看次数

标签 统计

cocoa-touch ×1

iphone ×1