1

TextFields have this very useful option, "clear when editing begins", but can't seem to find it in TextViews. Is there an equivalent? If not what is the approved work around?

Edward Hasted
  • 3,201
  • 8
  • 30
  • 48
  • Try this: http://stackoverflow.com/questions/3877980/clear-button-on-uitextview – Dave Nov 14 '12 at 14:58
  • No, I don't think I've explained my self clearly enough and I didn't find that example was the answer. In a textView I have some initial text like "Type here to enter your message..." When the user taps on it the initial message disappears. TextFields have that option and I'm slightly baffled as to why TextViews don't as well... – Edward Hasted Nov 15 '12 at 12:39

1 Answers1

0

Then you should create a custom TextView subclass. You can find one here.

Community
  • 1
  • 1
Dave
  • 1,081
  • 6
  • 10