简体   繁体   English

UITableView单元格内的UITextField没有响应

[英]UITextField inside UITableView cell doesn't respond

I have a UITextField inside a UIView B, B is inside UITableView. 我在UIView B内部有一个UITextField,B在UITableView内部。

B is a custom UITableView from xib. B是来自xib的自定义UITableView。

The problem is that the UITextField doesn't respond and the user can't enter text , in ios 7 and lower it was working fine. 问题是UITextField没有响应,并且用户无法在ios 7中输入text,并且它运行正常。

Any ideas? 有任何想法吗?

所以问题是我们的uitextfield是uitextfieldn的子类,并且在功能willmovetowindow中,我们没有在ios <7.1中调用[super willmovetowi ...],它工作正常,在ios 7.1中,视图的层次结构发生了变化,这导致了一个问题...

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM