Hi all,
I made a sample application consisting of : WebView (to display content of a URL), textfield (to contain a URL), button (to load URL in WebView).
I used this method to display contents in WebView:
I made this application in both Leopard and Snow Leopard.
The normal links such as - http://macrumors.com/ are opening correctly in both applications, but when I am trying a link such as-
Thanks,
Monaj
I made a sample application consisting of : WebView (to display content of a URL), textfield (to contain a URL), button (to load URL in WebView).
I used this method to display contents in WebView:
Code:
- (IBAction)displayAction:(id)sender{
NSString *liveStreamLink = [[NSString alloc] initWithString:[livestreamLinkTextField stringValue]];
[[livestreamDisplayView mainFrame] loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:liveStreamLink]]];
}
I made this application in both Leopard and Snow Leopard.
The normal links such as - http://macrumors.com/ are opening correctly in both applications, but when I am trying a link such as-
, in application developed in leopard, it is causing crash. The application developed in Snow Leopard is working fine for all types of link.http://www.xyz.com/tools/gauges/livestream.php?data=123456, (Note: This link returns a graph)
Can anyone suggest me what could be its cause and some solution to resolve it?
Thanks,
Monaj