What is the class NSCFNumber in iOS 4.1?
After successfully acquiring a picture from the iPhone camera on iOS 4.1, you can use the key @"UIImagePickerControllerMediaMetadata" to return information about the picture. One of the keys in that dictionary is @"Orientation" From my experimentation, Portrait and Upside down are 6 and 8 respectively, and the landscapes are 1 and 3. Look at this code: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { NSDictionary *metaData = [info objectForKey:@"UIImagePickerControllerMediaMetadata"]; id orientation = [metaData objectForKey:@