I have a simple question: I have a UITextField (made from IB) and I would like it to not be empty (become "") when clicked when it gets focus. I can not find the setting, what / where is it?
In IB, check the box next to "Clear when editing."Or you can set it in the code setting clearsOnBeginEditingfor the corresponding value.
clearsOnBeginEditing
Source: https://habr.com/ru/post/1729880/More articles:Display date and time using month name in T-SQL - sql-serverCommunication error: unresolved << operator for std :: basic_ostream with CStringT - c ++Proprietary GNU GPL-based software - licensinghow to declare byte [] in C # so that ironpython interprets it as byte [], and not as a tuple - c #Redirect from ASP to ASP.Net session - asp.netEclipse jumps to function name on Ctrl-S - javaContext variable switching time - linuxGWT Dynamic Menu - gwthow to convert nsstring value of text in CLLocationCoordinate2D to objective-c for google map - objective-cFilling empty tables in Java Swing - javaAll Articles