How to get certain grey for a custom uipicker background color

2461 views ios
0

I simply just would like to know how to get this exact color grey that is seen when doing a UIDatePicker programmatically for my custom picker. Attached is a picture of the grey color I need below on a UIDatePicker:

enter image description here

answered question
Add a Comment

1 Answer

13
matt 0 Comments

Edit Main.storyboard. Click a view. Switch to the attributes inspector. In the Background pop-up, choose Custom. In the color dialog, click the little eyedropper icon. Click the gray. Done: you've captured that color exactly.

posted this

Please login first before posting an answer.