ios - Text visual appearance in UIPickerView -


i have question ios ui customization. found built-in picker view has glass-like cover , label under cover has appearance (text little inner shadow? such "11" , "44" in attached picture).

enter image description here

my question if want build scratch, direction should for? or tips? :)

create custom uiview subclass. you'll doing lot of drawing in drawrect: method. draw line segmements top , bottom, , perhaps 2 on each side (or arc). the, use gradient view, , have transition top midpoint using wo values, , midpoint bottom. if use "pixie" can zoom in on view , @ various pixel values guess @ starting points.

later, when want use technique, add top subview whatever cover, , set frame, , draw when asked system.

you might think of open sourcing on github - make name - , post code here. you.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -