iphone Programming Glossary: segmentedctrl
setting background image of UISegmentedControl http://stackoverflow.com/questions/10740373/setting-background-image-of-uisegmentedcontrol of UISegmentedControl So I have the following code to set the segmented control background color UISegmentedControl segmentedCtrl UISegmentedControl alloc initWithFrame CGRectMake 0 0 150 35 segmentedCtrl setBackgroundImage UIImage imageNamed @ btn gradient.. control background color UISegmentedControl segmentedCtrl UISegmentedControl alloc initWithFrame CGRectMake 0 0 150 35 segmentedCtrl setBackgroundImage UIImage imageNamed @ btn gradient brown forState UIControlStateNormal barMetrics UIBarMetricsDefault.. UIImage imageNamed @ btn gradient brown forState UIControlStateNormal barMetrics UIBarMetricsDefault segmentedCtrl setBackgroundImage UIImage imageNamed @ btn gradient brown forState UIControlStateSelected barMetrics UIBarMetricsDefault..
|