How to change data from a raster field to UIImage?

771
2
11-01-2010 03:57 AM
NicholasLeung
New Contributor
AGSGraphic *resultGraphic = self.identifyResult.feature;
NSData *imageData = (NSData *)[resultGraphic.attributes objectForKey:@"imageObject"]; 
UIImage *image = [UIImage imageWithData:imageData];


I have tried something like the code above but no luck so far. Does anyone has a solution for this? Many thanks!
0 Kudos
2 Replies
DiveshGoyal
Esri Regular Contributor
The ArcGIS Server REST API does not support raster fields. Consequently, you cannot access the information in such fields using ArcGIS API for iOS.
0 Kudos
NicholasLeung
New Contributor
Thanks for your reply. Seems I have to go for a web service solution then.
0 Kudos