How to place a uisegmentedcontrol in the navigation bar of a view of a tabbarcontroller which is implemented through code..
views:
66answers:
1
A:
In your view controller:
NSArray *items = NSArray arrayWithObject:@"Option"];
self.navigationItem.titleView = [[[UISegmentedControl alloc] initWithItems:array] autorelease];
Paul Lynch
2010-05-20 06:35:48