overlay-view

How to capture photo by adding overlay

感情迁移 提交于 2020-01-14 13:48:26
问题 I tried to add overlay when capturing the photo. i could successfully add the overlay in preview but once i tap the photo capture button,the overlay view (around 40px ) will upside down and also i tried to save the image in photo album but saved image does not contain the overlay image. i attached the below, if i am wrong please guide me? //In ViewDidLoad// OverlayView *overlay = [[OverlayView alloc] initWithFrame:CGRectMake(0, 0, 320, 460)]; UIImagePickerController *picker = [

UIButton inside UIImagePickerController.cameraOverlayView not responding

倖福魔咒の 提交于 2019-12-23 01:42:11
问题 I have got a UIButton inside a UIView that I set as the cameraOverlayView. I also scaled the uiimagepicker cameraView to cover the whole screen (as you can see below in the picture). Here's my code : // CameraViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. if(!self.imagePickerController) [self setupCamera]; } -(void)setupCamera{ self.imagePickerController = [[UIImagePickerController alloc] init]; self.imagePickerController

UIButton inside UIImagePickerController.cameraOverlayView not responding

╄→гoц情女王★ 提交于 2019-12-06 15:47:50
I have got a UIButton inside a UIView that I set as the cameraOverlayView. I also scaled the uiimagepicker cameraView to cover the whole screen (as you can see below in the picture). Here's my code : // CameraViewController.m - (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view. if(!self.imagePickerController) [self setupCamera]; } -(void)setupCamera{ self.imagePickerController = [[UIImagePickerController alloc] init]; self.imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext; self.imagePickerController.delegate = self; self