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 characters3、数字和标点符号case numbersAndPunctuation = 2 // Numbers and assorted punctuation.4、URL键盘ca原创 2021-11-11 11:11:28 · 2001 阅读 · 0 评论 -
【iOS】关于keyWindow的获取
iOS13之前的获取方式UIApplication.sharedApplication.keyWindowiOS13 之后新增了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 · 1376 阅读 · 0 评论