Hello,
I am currently putting together an app in which text fields within the xib file will read data from a plist file using ObjectForKey. Adding a string into the plist and getting it shown in the UI isn't a problem. My query is how i can add a new line (similar to \n) to the string which will appear as a new line in the text field.
At the moment adding a string into the UITextField will look like this:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When what i'm after is:
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
Anyone able to help? I'm hoping this makes sense!
Thanks in advance for your replies
Simon
I am currently putting together an app in which text fields within the xib file will read data from a plist file using ObjectForKey. Adding a string into the plist and getting it shown in the UI isn't a problem. My query is how i can add a new line (similar to \n) to the string which will appear as a new line in the text field.
At the moment adding a string into the UITextField will look like this:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
When what i'm after is:
xxxxxxx
xxxxxxx
xxxxxxx
xxxxxxx
Anyone able to help? I'm hoping this makes sense!
Thanks in advance for your replies
Simon