1

I am currently working on 3 components(columns) picker in my app. I want to put border line between 0 - 1 components and 1 - 2 components. It seems fairly fundamental thing but I cannot find a way to do so.

Is there anyone who knows how to make the lines?

Thank you

1 Answer 1

2

Try this code

picker.layer.borderColor = UIColor.whiteColor().CGColor
picker.layer.borderWidth = 1

swift-formatting-a-uipickerview

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.