Insert Only ‘#'(Tag) value into UITextField

Hello All,

Here I demonstrate hashtag container string into UITextField and we can restrict to user maximum numbers of hashtag insert into UITextField.

Show below is the delegate method name is “shouldChangeCharactersInRange” where once user can start inserting the character.

Also you can download the sample code from here.

Leave a Reply

Your email address will not be published. Required fields are marked *



*