Multiple lines of text and iOS controls

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Multiple lines of text and iOS controls

Post by teacherguy » Wed Oct 21, 2015 3:38 am

Is there a way to have an iOS control that will properly display multiple lines of text, rather than turning into one long string?

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: Multiple lines of text and iOS controls

Post by Dixie » Wed Oct 21, 2015 8:12 am

Yes, there is... :-) Use the multi-line Input Contro UI TextView, read about it on page 74 of the iOS release notes ... mmm... read 'iosMultiline' in the dictionary
Multi-line Input control – UITextView
A UITextView control is created using a control type of "multiline". For full details of what the UITextView control is capable of, and background about it see the iOS reference document.The multiline input control allows the editing of multiple lines of text, with the 'return' key ending each line.

teacherguy
Posts: 379
Joined: Thu Dec 08, 2011 2:43 am

Re: Multiple lines of text and iOS controls

Post by teacherguy » Wed Oct 21, 2015 10:00 pm

Perfect, thank you so much.

Post Reply