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).

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
Post a Comment