如何将UITextField放在UITableViewCell(已分组)中? [英] How to put a UITextField inside of a UITableViewCell (grouped)?
本文介绍了如何将UITextField放在UITableViewCell(已分组)中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何将UITextField放在UITableViewCell(已分组)中?我希望用户能够编辑它。
How to put a UITextField inside of a UITableViewCell (grouped)? I want a user to be able to edit it.
推荐答案
添加 UITextField
作为UITableViewCell的 contentView
的子视图:
Add the UITextField
as an subview of the UITableViewCell's contentView
:
[mycell.contentView addSubview:view];
这篇关于如何将UITextField放在UITableViewCell(已分组)中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文