【问题标题】:Is it possible to reduce or change the font of the items of the UIPickerView?是否可以减少或更改 UIPickerView 项目的字体?
【发布时间】:2011-03-29 11:26:20
【问题描述】:

UIPickerView的item的字体是否可以缩小或改变?

【问题讨论】:

    标签: iphone fonts uipickerview reduce


    【解决方案1】:

    在选择器的委托中实现pickerView:viewForRow:forComponent:reusingView: 方法,而不是pickerView:titleForRow:forComponent:。您将能够在那里创建 UILabel 对象并为其设置所有必要的属性。

    【讨论】:

      猜你喜欢
      • 2011-07-19
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2019-04-08
      • 1970-01-01
      相关资源
      最近更新 更多