摘要:
转载于:http://blog.csdn.net/crayondeng/article/details/8738768下面简单介绍如何通过url获取xml的两种方式。第一种方式相对简单,使用NSData的构造函数dataWithContentsOfURL;不多解释,直接上代码咯。[cpp]view plaincopyNSURL*url=[NSURLURLWithString:@"http://222.73.161.212/ispace2/servlet/com.lemon.xml.XmlAction"];//ABooleanvaluethatturnsanindicator 阅读全文
posted @ 2014-04-21 11:29
haotianling
阅读(368)
评论(0)
推荐(0)