![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
objectiveC
sanjieshenwu1987
这个作者很懒,什么都没留下…
展开
-
【iOS】UITextField 的 UIKeyboardType
1、默认样式 case `default` = 0 // Default type for the current input method. 2、ASCII 码键盘 case asciiCapable = 1 // Displays a keyboard which can enter ASCII characters 3、数字和标点符号 case numbersAndPunctuation = 2 // Numbers and assorted punctuation. 4、URL键盘 ca原创 2021-11-11 11:11:28 · 2013 阅读 · 0 评论 -
【iOS】关于keyWindow的获取
iOS13之前的获取方式 UIApplication.sharedApplication.keyWindow iOS13 之后新增了UIWindowScene,keyWindow的获取也有了新的方式,将来肯定会移除该字段,记录下方法提前适配。 @property(nullable, nonatomic,readonly) UIWindow *keyWindow API_DEPRECATED("Should not be used for applications that support multipl原创 2021-10-28 16:57:57 · 1422 阅读 · 0 评论