Can any one tell me about the example code for setting the placeholder in a UITextField programatically?
Thanks
HI,
Its easy. Use the following code:
mytext.placeholder = @"Enter User Name";
Post Answer
Preview: