mercredi 31 décembre 2014

iOS UITextField Auto Resize conform to the content

How I can set the Auto resize in Text Field in iOS ?


helloWorld.m


self.TextFieldExample.text = @"HELLO WORLD HELLO WORLD HELLO WORLD HELLO WORLD";


Now:



HELLO WORLD HELLO ...



Correct:



HELLO WORLD HELLO WORLD HELLO WORLD HELLO WORLD



What is the best practice in this case?




Aucun commentaire:

Enregistrer un commentaire