I'm trying add a segmented controller in a navigation bar in my app which is imbedded in a tab. I'm able to add the navigation controller and segmented buttons to the tab in IB. I read that i need to do something with segmentAction: I'd like the segmented buttons to just change the URL of the webview. To load the URL in the view i'm using this code in the views .m
-(void)awakeFromNib {
[HomePage loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString
"http://m.singletracks.com/map2.php"] ]];
Can someone get my started with what my code should look like to change the URL when different segment buttons are pressed?
-(void)awakeFromNib {
[HomePage loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString
Can someone get my started with what my code should look like to change the URL when different segment buttons are pressed?