Hi, I've got a plist file with jpeg photo data in it. I need to get that photo out. I can read the plist file into an NSDictionary and can access the object at the key "jpegphoto". The problem is that the object returned is an NSCFArray that I have no idea how to work with. I can print it and I see a nice stream of octets come out, but that's all I know how to do. How do I get this NSCFArray into NSData or a byte array?
The CFArray when passed to NSLog like so
Spits out hundreds of line similar to
I know that it is a CFArray b/c I did
And got back
Thanks
The CFArray when passed to NSLog like so
Code:
NSLog(@"%@", [data_dictionary objectForKey:@"jpegphoto"]);
Code:
5ed15ee6 df44b2ff 00899699 0dd23b58 dccdcadc 6c8d04e1 8b3e1940 af76953e 7c0e1b56
Code:
NSLog(@"%@", NSStringFromClass([[data_dictionary objectForKey:@"jpegphoto"] class]));
Code:
NSCFArray
Last edited: