简体   繁体   中英

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. this is the same Functionality on iphone About us Page 请看图片

Thanks in Advance

In my opinion, you should have a UILabel as Placeholder at the left of the cell , and the UITextField at right.

If you want to edit your textField wherever you touch the cell. use [myTextField becomeFirstResponder]; in didSelectRowAtIndexPath method

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM