Is there a way to have multiple lines of text in UILabel
like in the UITextView
or should I use the second one instead?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Xcode: Is there a way to change line spacing (UI L
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
- didBeginContact:(SKPhysicsContact *)contact not in
On C#, this worked for me inside UITableViewCell.
I think the point here is:-
Swift 3
Set number of lines zero for dynamic text information, it will be useful for varying text.
If you have to use the:
property you can also use a standard line break
("\n")
, in code, to force a new line.lets try this
you should try this: