Reputation: 81
In my application, I am using UIWebview to display some url say "Google". The problem is that, it is displaying the web page correctly but the links present on that page are not working.
Say if on Google page I click on map or gmail, then nothing happens. I know, I am missing some minor things, still need help from you.
Upvotes: 2
Views: 7016
Reputation: 81
You also want to make sure that "User interactions Enabled" (in the View section of the attributes tab) is checked.
Upvotes: 2
Reputation: 2052
Check in Interface Builder your .xib with UIWebView
, in Attributes Inspector (4th tab of the right panel) in section Web View
Detection Links
checkbox. It must be checked on in order to make links work.
Upvotes: 11
Reputation: 80265
Make sure your link is constructed exactly like this:
<a href="http://www.google.com">Google</a>
It should just "work".
Upvotes: -2