开发者

iPhone Hyperlinks

开发者 https://www.devze.com 2023-01-28 11:15 出处:网络
Hello I am new to iDevice development.I am able to show a html page in iPhone.but if i give ahyperlink开发者_C百科 , the hyperlinks is not working.how to give html hyperlinks in iPhoneIf you\'re using

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

精彩评论

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