hi all, i have a stupid question...sometimes i see developers use the following code...
NSString *newURL = [_parameters objectForKey:@"url"];
when i use this i get error... here what is _parameters and how to declare it??
i can provide more example..
NSLog(@"SaveImage Called");
//google code for turning base64 into uiimage
NSURL *url = [NSURL URLWithString:[self._parameters objectForKey:@"imageData"]];
NSData *imageData = [NSData dataWithContentsOfURL:url];
UIImage *img = [UIImage imageWithData:imageData];
/*
if(img != nil) {
UIImageWriteToSavedPhotosAlbum(img, self, nil, nil);
}
*/