开发者

how get website title?

friends..

Now, I 'm trying to get website title from the url.. To do that , I should get http content first....

I used stringWithContentsOfURL to get http contents according to this following example.. Reading HTML content from a UIWebView

When I try "http://www.ap开发者_StackOverflowple.com" , I got correct results..

But, in case of "http://www.google.co.hk", I always get nil..

What's the problem in above code?

To get website contents always, how can I do that?

please help me...

thanks.


The problem is that URL is wrong. Try http://www.google.com.hk instead of http://www.google.co.hk

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜