gpt4 book ai didi

iphone - 只有两个组件的自定义DatePicker

转载 作者:行者123 更新时间:2023-12-01 18:30:21 26 4
gpt4 key购买 nike

我想在我的项目中使用自定义datePicker。在Mode date中,它显示Month,Day and Year,就我而言,我不需要Year,我只想显示Month and day

最佳答案

API没有提供执行此操作的方法。如果需要的话,请file a report requesting this ability,希望它会包含在将来的iOS版本中。

同时,您可以使用UIPickerView自己制作一个令人信服的副本。

关于iphone - 只有两个组件的自定义DatePicker,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/9663821/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com