3
i 카메라가 오버레이에 레이블을 추가하고 그리고 난이 성공적으로 추가카메라 오버레이 라벨 문제
는하지만 내가 직면하고하는 라벨 또한 촬영 한 사진의 미리보기에 나타나는입니다
내가를 표시하려면 라벨을 추가하기위한 촬영의 미리보기에 내가 다음 코드
UIView *overlayView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 480)];
overlayView.opaque = NO;
overlayView.backgroundColor = [UIColor clearColor];
[overlayView addSubview:topImgView];
[overlayView addSubview:btnInfo];
[overlayView bringSubviewToFront:btnInfo];
UILabel *label =[[UILabel alloc]initWithFrame:CGRectMake(20, 0,290,150)];
label.text [email protected]"Hold the bottle steady, left align the prescription label, and then take the photo";
label.backgroundColor = [UIColor clearColor];
label.numberOfLines = 2;
label.textAlignment = UITextAlignmentCenter;
label.font = [UIFont boldSystemFontOfSize:14.0];
label.textColor = [UIColor whiteColor];
[overlayView addSubview:label];
_infoLabel =label;
[label release];
//Image picker
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera;
imagePicker.delegate = self;
imagePicker.cameraOverlayView=overlayView;
[self presentModalViewController:imagePicker animated:YES];
_imagePicker =imagePicker;
[imagePicker release];
[topImgView release];
[overlayView release];
를 사용하고 있지 카메라 오버레이 레이블 중 하나는 ... 어떻게 일을하는 저를 도와주세요 수