Possible Duplicate:
Having a UITextField in a UITableViewCell
我尝试了几天,但是没有发现任何有用的东西,所以我的问题是:如何创建UITableViewCell UITextField Like?
http://i.stack.imgur.com/poeay.png
Possible Duplicate:
Having a UITextField in a UITableViewCell
我尝试了几天,但是没有发现任何有用的东西,所以我的问题是:如何创建UITableViewCell UITextField Like?
http://i.stack.imgur.com/poeay.png
最佳答案
只需将UITextField
添加到这样的UITableViewCell
中即可。
UITextField* textField = [[UITextField alloc] initWithFrame:frame];
[cell addSubview:textField];
关于iphone - 如何创建像UITableViewCell这样的TextField? ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/7890316/
相关文章:
objective-c - 如何在 UIMarkupTextPrintFormatter 中添加图片?
ios - 如何使用 IndexPathsForSelectedRows?
ios - UINavigationController 作为 iPhone 上的弹出窗口?
ios - GADBannerViewDelegate 不会在 Swift 中触发 adViewDidReceiveAd
ios - 在 IOS 中的 PushSegue 期间,目标 Controller View 出现在源 View Controller 中
iphone - 在 UITableViewCellAccessoryDetailDisclosureButton 下显示 UIMenuController