UISegmentedControl, Load XIB's instead of Webpages
Hi, here's the correct code for loading webpages from a Segmented Control from the implementation file. Could someone please tell me what is the line of code that calls a XIB to load (thus replacing the bold line below)? Thank You!
-(IBAction)changeSeg {
if(segment.selectedSegmentIndex ==0) {
[webPage loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
}
|