Can I place noneditable text in UITextField

后端 未结 3 1121
-上瘾入骨i
-上瘾入骨i 2021-01-19 05:28

I\'d like to place some fixed text inside an UITextField, but before the insert point, sort of like this:


| He went (towaards)

...where \"towaards\"

3条回答
  •  轮回少年
    2021-01-19 05:56

    Just set the text property of the label to @"He went (towaards) and when editing is started change it to @"He went "

提交回复
热议问题