uiactivityviewcontroller - How to export Apple's new RAW photo format .dng in iOS 10? -
i'm having trouble exporting apple's new raw photo format .dng. uiactivityviewcontroller exports photo jpeg, defeats purpose. any appreciated. here's how fixed issue. -(void)activityaction{ phasset *asset = self.assetsfetchresults[(int)self.image_number]; phimagerequestoptions *options = [[phimagerequestoptions alloc] init]; options.synchronous = no; options.version = phimagerequestoptionsversioncurrent; options.deliverymode = phimagerequestoptionsdeliverymodeopportunistic; options.resizemode = phimagerequestoptionsresizemodenone; options.networkaccessallowed = no;//has yes download cloud , progress show /*options.progresshandler = ^(double progress,nserror *error,bool* stop, nsdictionary* dict) { nslog(@"progress %lf",progress); //never gets called };*/ [[phimagemanager defaultmanager] requestimagedataforasset:asset options:options resulthandler:^(nsdata *imagedata, nsstring *datauti, uiimageorientation imageorientation, nsdictionary *i...