Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UISegmentedControl *bottomSegmentBar = [[UISegmentedControl alloc] initWithItems:statusItems];
- bottomSegmentBar.segmentedControlStyle=UISegmentedControlStyleBar;
- [bottomSegmentBar addTarget:self action:@selector(segmentedControllerDidChange:) forControlEvents:UIControlEventValueChanged];
- UIBarButtonItem *SegmentItem = [[UIBarButtonItem alloc] initWithCustomView:bottomSegmentBar];
Add Comment
Please, Sign In to add comment