开发者

UIviewcontrollerproblem

开发者 https://www.devze.com 2022-12-23 07:22 出处:网络
In my view i have Textfield.If i move that TextField it should open iphone keyboard occupies.Extra Tex开发者_运维百科tFields doesn\'t display

In my view i have Textfield.If i move that TextField it should open iphone keyboard occupies.Extra Tex开发者_运维百科tFields doesn't display

Please help in this issue.


If you want the keyboard to slide away when you click outside the textfield implement:

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
{
    [myTextfield resignFirstResponder];
}
0

精彩评论

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

关注公众号