0
큰 문제가 있습니다. 스페인어로 된 응용 프로그램을 개발 중이므로 레이블과 컨트롤이 스페인어로되어 있어야합니다. 문제는 카메라에서 사진을 선택할 때 기본 카메라 컨트롤이 영어로 나오는 것입니다. "사진 찍기", "취소"및 "다시 찍기". 내 질문은 스페인어로 표시되도록이 단추를 사용자 지정할 수있는 경우입니다. "Tomar Foto", "Cancelar"y "Volver a tomar". "FR", 전무] forKey @, "드"@ "EN"@ :사용자 정의 카메라 오버레이로 카메라 컨트롤에서 버튼 제목을 사용자 정의 할 수 있습니까?
-(IBAction)takePhoto :(id)sender
{
if (fotos.count <= 3) {
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera])
{
[imagePickerController setSourceType:UIImagePickerControllerSourceTypeCamera];
}
imagePickerController.showsCameraControls = YES;
// image picker needs a delegate,
[imagePickerController setDelegate:(id)self];
// Place image picker on the screen
if([[[UIDevice currentDevice] systemVersion] floatValue]>=8.0)
{
[[NSOperationQueue mainQueue] addOperationWithBlock:^{
[self presentViewController:imagePickerController animated:NO completion:nil];
}];
}
else
{
[self presentViewController:imagePickerController animated:NO completion:nil];
}
}
}
앱이 스페인어 현지화를 지원하도록 설정되어 있고 사용자가 스페인어를 사용하도록 기기를 설정 한 경우 표준 컨트롤의 모든 버튼과 라벨에도 스페인어가 표시됩니다. – rmaddy
고맙습니다. –