【发布时间】:2010-11-09 08:40:44
【问题描述】:
我使用此代码将 uitextfield 添加到 uitableviewcell 中
textField=[[[UITextField alloc]initWithFrame:CGRectMake(5, 10, 290, 70)]autorelease]; textField.delegate=self; textField.keyboardType=UIKeyboardTypeURL; textField.autocorrectionType=YES; textField.textColor=[UIColor blackColor]; textField.placeholder=@"输入提要网址"; [cell.contentView addSubview:textField];
当我点击 textField 时,键盘会出现......但是当我在 textField 中编辑文本时,放大类不应该工作
谁能帮帮我?
【问题讨论】:
-
@OakBytes,如果您正在编辑帖子,请尝试修复所有内容。这个问题的代码一团糟。
标签: iphone objective-c