I get this XML response from TwitPic:
<?xml version="1.0" encoding="UTF-8"?> <rsp stat="ok"> <mediaid>abc123</mediaid> <mediaurl>http://twitpic.com/abc123</mediaurl> </rsp>
I want to access the value in the 'mediaurl' tags.
So I tried:
NSString *twitpicURL = [[request responseHeaders] objectForKey:@"mediaurl"];
But that does not work.
Can someone point me in the right direction, please, please?
Thanks,
Jamie
source share