Fixed labels in the selection bar of a UIPickerView

前端 未结 12 1246
一生所求
一生所求 2020-11-27 12:17

In the clocks application, the timer screen shows a picker (probably a UIPicker in UIDatePickerModeCountDownTimer mode) with some text in the selec

12条回答
  •  星月不相逢
    2020-11-27 12:49

    Can you show where you define pickerTop and pickerSize?

        CGFloat pickerTop = timePicker.bounds.origin.y;
    CGSize pickerSize = timePicker.bounds.size;
    

    That is what I have, but pickerTop seems to be wrong.

    mike

提交回复
热议问题