开发者

iPhone - UITextField inside NavigationController Crashing App when touched

I have a problem witha UITextField.

Context: I have a UITabBar Controller with 5 Tabs. Each one has a NavigationController with their related ViewController.

First Tab, has a UITable. When a row in the table is touched, the user is sent to the second tab, and a new view is pushed in the Naviga开发者_C百科tionController.

This new ViewController has a UITextField. When I touch it, the App Crashes with the message in console: "-[CALayerArray registerDefaults:]:unrecognized selector sent to instance 0x612f280 ***Terminating app due to uncoaught exception 'NSInvalidArgumentException', reason: "-[CALayerArray registerDefaults:]:unrecognized selector sent to instance 0x612f280"

Also I've noticed this ViewController also is not responding to Orientation Change... so I assume is something related to the tree...

Everything was constructed with the Interface Builder.

If you have any tip or idea of what can be happening, I'd really appreciate it.

Thank you very much.


in IB, deleting and adding a new UITextField should do the trick.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜