I have my app set up with a SegmentedControl to go between different webviews. Here is my code I have
With it set up like this, you cannot back and forth between the web views without losing your spot on one. Is there anyway I can alter this so that the first time the app is loaded and these are selected it will go to the webviews, but afterwards it will hold your place on each website?
Code:
- (IBAction)changesegment {
if (segment.selectedSegmentIndex == 0) {
[blogs loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.316apps.com/blogbinds.html"]]];
}
if (segment.selectedSegmentIndex == 1) {
[blogs loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.316apps.com/scoop.html"]]];
}
}