I am trying to put an arrow sign in the round rect button. I intend to use it as a reverse/undo button.. How do go about to do it?
is it something like this?
- (IBAction)ReversePressed:(id)sender {
UIImage *image = [UIImage imageNamed:@"arrow.png"];
UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
[button setImage:image forState:UIControlStateNormal];
}
Make it custom. if you want to make its corners round, import QuartzCore framework, add it to your .h or .m file:
and in
viewDidLoad: