Reputation: 3416
how to read images from xml file in xcode project? How did we display that image in iphone?
Upvotes: 1
Views: 1193
Reputation: 6991
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.
Upvotes: 1