0

I have a TextField with money text "1234,00"

The tail ",00" I added by code, user don't have to type it.

But I don't want user to edit ",00". So I want user can not move cursor to ",00".

I find out TextView have textViewDidChangeSelection: but it don't have in TextField.

So how can I get notify about cursor change in TextField?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253

1 Answers1

0

I have to hardcode by adding Label on top of TextField. Although it will be wrong if text is longer than TextField width