1. drag imageview to layout screen
2. select attribute inspector and chose image (right top layout)
3. ctrl+drag & drop imageview to Editor (FirstViewController.h
)
4. drag button to Editor and chose Action
5. coding bellow
- (IBAction)mybutton:(id)sender { [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://google.co.th"]]; }
หารทำ navigation