Is there an iPhone equivalent to the NSTokenField control?

前端 未结 4 1028
刺人心
刺人心 2020-11-29 05:41

In my app I want the user to type names into a UITextField (or equivalent) and then when they press return, it will put that word(s) in a blue bubble that\'s usually associa

4条回答
  •  遥遥无期
    2020-11-29 06:19

    I dont think you can do it with any built in functionality in the SDK, never seen such a feature. What you could do however is implement it yourself, have some custom blue button with some text over it, and when the user hits return you can have some code that takes the text and returns you the button that you need, shouldnt be too bad to implement

提交回复
热议问题