网站介绍:文章浏览阅读563次。18. 软键盘添加 Done buttonextension UITextField {func addDoneToolbar(onDone: (target: Any, action: Selector)? = nil) {var doneButton: UIBarButtonItem! if let onDone = onDone {doneButton = UIBarButtonItem(title: localizedString(with: “cosmos_common_done”), s_swift universal 2x
- 链接地址:https://kmyhy.blog.csdn.net/article/details/120823468
- 链接标题:Swift Tips(18-32)_swift universal 2x-CSDN博客
- 所属网站:kmyhy.blog.csdn.net
- 被收藏次数:4356
- 网站标签:swift universal 2x