UIImageView + Touch Handling = UIButton | Cocoanetics
may 2011 by Breefield
IButton *imageButton = [UIButton buttonWithType:UIButtonTypeCustom];
imageButton.frame = CGRectMake(100.0, 100.0, 57.0, 57.0);
[imageButton setImage:[UIImage imageNamed:@"Icon.png"] forState:UIControlStateNormal];
[self.view addSubview:imageButton];
cocoa
objectifiec
views
iphone
buttons
UIImageView
UIButton
imageButton.frame = CGRectMake(100.0, 100.0, 57.0, 57.0);
[imageButton setImage:[UIImage imageNamed:@"Icon.png"] forState:UIControlStateNormal];
[self.view addSubview:imageButton];
may 2011 by Breefield
Copy this bookmark: