Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -(void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info
- {
- if([_delegate respondsToSelector:@selector(libraryImageSelectionImage:withId:AndMediaType:AndEXIFData:)])
- [_delegate libraryImageSelectionImage:[info objectForKey:@"UIImagePickerControllerOriginalImage"] withId:[info objectForKey:@"UIImagePickerControllerReferenceURL"] AndMediaType:[info objectForKey:@"UIImagePickerControllerMediaType"] AndEXIFData:nil];
- [_pickerImage dismissModalViewControllerAnimated:YES];
- }
- (gdb) po info
- {
- UIImagePickerControllerMediaMetadata = {
- DPIHeight = 72;
- DPIWidth = 72;
- Orientation = 1;
- "{Exif}" = {
- ApertureValue = "2.526068811667588";
- BrightnessValue = "2.755607589626643";
- ColorSpace = 1;
- DateTimeDigitized = "2011:12:05 18:08:53";
- DateTimeOriginal = "2011:12:05 18:08:53";
- ExposureMode = 0;
- ExposureProgram = 2;
- ExposureTime = "0.05";
- FNumber = "2.4";
- Flash = 24;
- FocalLenIn35mmFilm = 35;
- FocalLength = "4.28";
- ISOSpeedRatings = (
- 64
- );
- MeteringMode = 3;
- PixelXDimension = 3264;
- PixelYDimension = 2448;
- SceneType = 1;
- SensingMethod = 2;
- Sharpness = 0;
- ShutterSpeedValue = "4.321928094887363";
- SubjectArea = (
- 1561,
- 1118,
- 610,
- 612
- );
- WhiteBalance = 0;
- };
- "{TIFF}" = {
- DateTime = "2011:12:05 18:08:53";
- Make = Apple;
- Model = "iPhone 4S";
- Software = "5.0.1";
- XResolution = 72;
- YResolution = 72;
- };
- };
- UIImagePickerControllerMediaType = "public.image";
- UIImagePickerControllerOriginalImage = "<UIImage: 0x34e110>";
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement