1

I have links like the below: http://www.linkedin.com/groups?gid=4186012&mostPopular=&trk=tyah

For some reason uiwebview is not recognizing this links properly. Links without question marks work, but with question marks don't.

Meaning, it does not show the proper linkedin page.

What should I do?

Here's the code:

NSString *urlAddress = @"http://www.linkedin.com/groups?gid=4186012&mostPopular=&trk=tyah";

//Create a URL object.
NSURL *urlString = [NSURL URLWithString:urlAddress];

//URL Requst Object
NSURLRequest *requestObj = [NSURLRequest requestWithURL:urlString];

//Load the request in the UIWebView.
[self.webview loadRequest:requestObj];
4

1 に答える 1

0

次のようなことを試しましたか: 「UIWebView はページをロードしません。」?

URL の疑問符が何であるかを説明するリンクを次に示します: Query_String

于 2013-07-31T22:06:00.917 に答える