开发者

iPhone Hyperlinks

Hello I am new to iDevice development.I am able to show a html page in iPhone.but if i give a hyperlink开发者_C百科 , the hyperlinks is not working.how to give html hyperlinks in iPhone


If you're using Interface Builder, click on your UIWebView and in the Attributes Inspector palette, in the Web View section, turn on the checkbox for Links.

If you've created the UIWebView in code (or if you'd prefer to do it this way) you can turn on Links like this:

yourWebViewName.dataDetectorTypes = UIDataDetectorTypeLink;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜