2012-06-21 69 views

回答

2

創建基於在線.xml文件NSString

NSURL *theURL = [NSURL URLWithString:@"http://www.website.com/feed.xml"]; 
NSError *error = nil; 
NSString *theXML = [NSString stringWithContentsOfURL:theURL encoding:NSUTF8StringEncoding error:&error]; 
+0

感謝您的時間,正準備回答它自己堂妹找到了答案。無論如何thnx! – haawa