views:

45

answers:

1

Hello, I have app which have two views implemented in Tabbar, one of them is UIWebView which shows some random html and second is mapView (route-me map), I have function in MapViewController.m which do sth stuff when is clicked on marker label

- (void) tapOnLabelForMarker: (RMMarker*) marker onMap: (RMMapView*) map {
NSLog(@"taponlabelformarker clicked");

 self.tabBarController.selectedIndex=0;
 WebViewController *web = [[WebViewController alloc] init];

 [web dajdasepije];
}

and that function should call function which show html in uiwebview tab

-(void)dajdasepije {
 NSLog(@" pokreni me njezno");
 [webView loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"http://www.google.com"]]];
  }

Problem is that UIWebView never show google page that I asked for it, NSLog prints out at terminal messages that function was called but nothing else happens.

Please help, Thanks in advance.

Marjan

A: 

Did you get an answer for this. I have the same problem

Peter