20
업로드 후 iOS UIImagePickerController 결과 이미지 방향
iOS 3.1.3 iPhone에서 iPhone 응용 프로그램을 테스트하고 있습니다. UIImagePickerController:을 사용하여 이미지를 선택 / 캡처하고 있습니다 . UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; [imagePicker setSourceType:UIImagePickerControllerSourceTypeCamera]; [imagePicker setDelegate:self]; [self.navigationController presentModalViewController:imagePicker animated:YES]; [imagePicker release]; - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info { self.image = [info objectForKey:UIImagePickerControllerOriginalImage]; imageView.image = self.image; [self.navigationController dismissModalViewControllerAnimated:YES]; submitButton.enabled = YES; } …