a guest Jan 18th, 2019 59 Never
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];
RAW Paste Data