开发者

How to overlay on top of the Keyboard in xcode

开发者 https://www.devze.com 2023-01-16 02:30 出处:网络
How do you overlay something, ie a UIImageView over the keyboard whi开发者_开发技巧ch pops up when editing a UITextFIeld?You can catch keyboard window using following code, if you put it into textFiel

How do you overlay something, ie a UIImageView over the keyboard whi开发者_开发技巧ch pops up when editing a UITextFIeld?


You can catch keyboard window using following code, if you put it into textFieldDidBeginEditing method:

UIWindow* keyboard = [[[UIApplication sharedApplication] windows] objectAtIndex:1];
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号