Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
iOS Development
Why do new lines not appear in my text label?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Mark FX" data-source="post: 1389540" data-attributes="member: 211556"><p>A UILabel does not support multiline text, but the NSTextField used in Mac OSX projects does.</p><p></p><p>So you will have to use a UITextView object in your iOS projects, for multiline text, and if you set it's</p><p>editable property to false in the attributes inspector, then it will serve the same purpose as an UILabel.</p><p></p><p>Hope this helps.</p><p></p><p>Regards Mark</p></blockquote><p></p>
[QUOTE="Mark FX, post: 1389540, member: 211556"] A UILabel does not support multiline text, but the NSTextField used in Mac OSX projects does. So you will have to use a UITextView object in your iOS projects, for multiline text, and if you set it's editable property to false in the attributes inspector, then it will serve the same purpose as an UILabel. Hope this helps. Regards Mark [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
iOS Development
Why do new lines not appear in my text label?
Top