UIDatePicker UIDatePickerStyle = .compact 弹出日历关闭时的通知
我希望当用户关闭 .compact 样式 UIDatePicker 的弹出日历时收到通知。 用户在尝试选择正确的日期时可能会触发多个 valueChanged,因此我希望在用户点击日历外部以关闭它时收到通知。
I would like to receive a notification when the user dismisses the pop-up calendar for a .compact style UIDatePicker.
The user may trigger several valueChanged while trying to select the right date, so I would like to get notified when the user taps outside the calendar to dismiss it.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以尝试观察
editingDidEnd
控件事件:You can try to observe
editingDidEnd
control event: