Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UIButton *videoButton=[[UIButton alloc] initWithFrame:CGRectMake(50, 2, 50, 40)];
- videoButton.backgroundColor=[UIColor redColor];
- UIBarButtonItem *barButton=[[UIBarButtonItem alloc] initWithCustomView:videoButton];
- //self.navigationItem.rightBarButtonItem=barButton;
- UIButton *aboutButton=[[UIButton alloc] initWithFrame:CGRectMake(50, 2, 50, 40)];
- aboutButton.backgroundColor=[UIColor greenColor];
- UIBarButtonItem *barButton1=[[UIBarButtonItem alloc] initWithCustomView:aboutButton];
- NSArray *buttons=[[NSArray alloc] initWithObjects:barButton,barButton1, nil];
- self.navigationItem.rightBarButtonItems=buttons;
Add Comment
Please, Sign In to add comment