开发者

How to push a view using textFieldDidBeginEditing event?

开发者 https://www.devze.com 2023-01-04 05:12 出处:网络
I want to push a view when I tap on a 开发者_如何学运维textfield, and I use the method textFieldDidBeginEditing

I want to push a view when I tap on a 开发者_如何学运维textfield, and I use the method textFieldDidBeginEditing to do it. The thing is that my navigation controller crashes someway that when I try to go back to the view when the textField is, the navigation bar seems to pop back, but the view that should be popped, stays.

On the other hand, I want the textField not to rise the keyboard, because I think thats one of the problems here.

I would appreciate any comments.

thanks.


You said that it crashes- do you receive any error messages in the console?

Using an UITextField as a view pusher is difficult and probably goes against Apple's Human Interface Guidelines, is there some important reason you can't use a UIButton or UITableViewCell?

0

精彩评论

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