i use the the ObjC Example of this repository,and change SCRecorderViewController.m⬇️
- (IBAction)capturePhoto:(UIButton *)sender { sender.selected = !sender.selected; if (sender.selected) { [_recorder capturePhoto:^(NSError *error, UIImage *image) { if (image != nil) { _image = image; [_recorder stopRunning]; } else { [self showAlertViewWithTitle:@"Failed to capture photo" message:error.localizedDescription]; } }]; }else{ [self showPhoto:_image]; } }
as the first pic ,which is captured scene,top left corner attached to the computer screen, but the output is far off the screen,can someone help with this.
p1 p2
i use the the ObjC Example of this repository,and change SCRecorderViewController.m⬇️
- (IBAction)capturePhoto:(UIButton *)sender { sender.selected = !sender.selected; if (sender.selected) { [_recorder capturePhoto:^(NSError *error, UIImage *image) { if (image != nil) { _image = image; [_recorder stopRunning]; } else { [self showAlertViewWithTitle:@"Failed to capture photo" message:error.localizedDescription]; } }]; }else{ [self showPhoto:_image]; } }
as the first pic ,which is captured scene,top left corner attached to the computer screen, but the output is far off the screen,can someone help with this.
video scene is perfect great;