
I'm looking for a simple info button example in iPhone XCode. Thanks!

Info Button Example - iPhone XCode
- (void)viewDidLoad {
[super viewDidLoad];
UIButton *infoButton = [UIButton buttonWithType:UIButtonTypeInfoLight];
infoButton.frame = CGRectMake(290.0, 10.0, 15.0, 15.0); // puts it top-right
[infoButton addTarget:self action:@selector(toggleCreditsOpen:) forControlEvents:UIControlEventTouchUpInside];
[self.view addSubview:infoButton];
}
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.