[英]show Both placeholder with text in UITextField
i want to show User's Text input with PlaceHolder ,so When the user enter text, they can still see the title of the field. 我想显示带有PlaceHolder的用户文本输入,因此当用户输入文本时,他们仍然可以看到该字段的标题。 this is the same Functionality on iphone About us Page 这与iPhone上的功能相同。关于我们页面
Thanks in Advance 提前致谢
In my opinion, you should have a UILabel
as Placeholder
at the left of the cell
, and the UITextField
at right. 我认为,您应该在cell
的左侧具有UILabel
作为Placeholder
,在右侧具有UITextField
。
If you want to edit your textField
wherever you touch the cell. 如果您想在触摸单元格的任何地方编辑textField
。 use [myTextField becomeFirstResponder];
使用[myTextField becomeFirstResponder];
in didSelectRowAtIndexPath
method 在didSelectRowAtIndexPath
方法中
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.