Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [button setImage:[UIImage imageNamed:@"image.png"] forState:UIControlStateNormal];
- UIBarButtonItem* item = [[UIBarButtonItem alloc] initWithImage: yourImage style: UIBarButtonItemStyleBordered target: nil action: nil];
- UIBarButtonItem* item = [UIBarButtonItem initWithCustomView: yourImageView];
Add Comment
Please, Sign In to add comment