how to read images from xml file in xcode project? How did we displa开发者_开发问答y that image in iphone?
Use NSCoding
, you convert the UIImage
to some NSData
. Then you add the NSData
object to an array or an NSDictionary
and finally you save that NSDictionary
to the disk. Or whatever you want to do with the XML file.
精彩评论