I am trying to launch a capture still image on my iPad4. Every time I launch the app no preview is shown and camera doesn't start. It works fine on my iPhone 6.
filterView is defined in my storyboard and connected through iboutlet and again works fine for iPhone6
First I tried this to see it will work
stillCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPresetHigh cameraPosition:AVCaptureDevicePositionBack];
stillCamera.outputImageOrientation = UIInterfaceOrientationLandscapeRight;
stillCamera.horizontallyMirrorFrontFacingCamera = NO;
stillCamera.horizontallyMirrorRearFacingCamera = NO;
Then I thought it maybe because I am using pretty high preset. So I changed it to lower res and still the camera doesn't start. What's happening? Is this project not supported on iPad4 at all?
I am trying to launch a capture still image on my iPad4. Every time I launch the app no preview is shown and camera doesn't start. It works fine on my iPhone 6.
filterView is defined in my storyboard and connected through iboutlet and again works fine for iPhone6
First I tried this to see it will work stillCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPresetHigh cameraPosition:AVCaptureDevicePositionBack]; stillCamera.outputImageOrientation = UIInterfaceOrientationLandscapeRight; stillCamera.horizontallyMirrorFrontFacingCamera = NO; stillCamera.horizontallyMirrorRearFacingCamera = NO;
Then I thought it maybe because I am using pretty high preset. So I changed it to lower res and still the camera doesn't start. What's happening? Is this project not supported on iPad4 at all?
stillCamera = [[GPUImageStillCamera alloc] initWithSessionPreset:AVCaptureSessionPreset1280x720 cameraPosition:AVCaptureDevicePositionBack];