daily pastebin goal
86%
SHARE
TWEET

Untitled

a guest Dec 6th, 2018 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. UISegmentedControl *bottomSegmentBar = [[UISegmentedControl alloc] initWithItems:statusItems];
  2. bottomSegmentBar.segmentedControlStyle=UISegmentedControlStyleBar;
  3. [bottomSegmentBar addTarget:self action:@selector(segmentedControllerDidChange:) forControlEvents:UIControlEventValueChanged];
  4. UIBarButtonItem *SegmentItem = [[UIBarButtonItem alloc] initWithCustomView:bottomSegmentBar];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top