Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I make my McPickerView Multiline in swift? #57

Open
AndrewFakher opened this issue Jul 17, 2019 · 0 comments
Open

How can I make my McPickerView Multiline in swift? #57

AndrewFakher opened this issue Jul 17, 2019 · 0 comments

Comments

@AndrewFakher
Copy link

AndrewFakher commented Jul 17, 2019

I have an McPickerView how can I make it multiline? I have some long text.

Here is my code :
```
let customLabel = UILabel()
customLabel.textAlignment = .center
customLabel.lineBreakMode = .byWordWrapping
customLabel.numberOfLines = 0
customLabel.sizeToFit()
mcPickerView.label = customLabel


**but nothing changed it still one single line.**
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant