/ Published in: Objective C
![](/img/icon_sav.png?v3)
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeCustom]; infoButton.showsTouchWhenHighlighted = YES; // make it flash when touched [infoButton setImage:[UIImage imageNamed:@"help.png"] forState:UIControlStateNormal]; infoButton.frame = CGRectMake(35, 20, 32, [infoButton addTarget:self action:@selector(infoButtonPressed:) forControlEvents:UIControlEventTouchUpInside]; [self addSubview:infoButton];
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)