【发布时间】:2013-07-31 21:42:10
【问题描述】:
是否可以在textfield 占位符中添加新行?类似:
comment1= [[[UITextField alloc]initWithFrame:frame2]autorelease];
comment1.placeholder = @"Write maximum 200 \r characters here";
【问题讨论】:
-
你能用 UITextView 代替吗?它们专为使用多条线路而设计。
-
除非你做一些毫无意义的疯狂事情,否则 NO。你只是在浪费你的时间,你不妨使用
UITextView。
标签: iphone objective-c uitextfield