Closed CH305426 closed 5 months ago
是iOS哪个系统,我这边在模拟器上(iOS14、iOS15)测试没有问题。使用的样例代码,效果如下:
另外显示效果有异常,也可以使用下面这两个属性,对单位Label的位置进行微调
/** 设置日期选择器单位 label 的水平方向偏移量 */
@property (nonatomic, assign) CGFloat dateUnitOffsetX;
/** 设置日期选择器单位 label 的竖直方向偏移量 */
@property (nonatomic, assign) CGFloat dateUnitOffsetY;
你好, 我使用的是时间选择器
碰到的问题是 ,在年月日上 pickerView看着挺好的, 但是在时分上有间距, 不知道为啥了