Questions tagged [ios-camera]
285 questions
4
votes
1 answer
Flash doesn't work while recording Video in Swift 3.0
I am working on a Camera App. I have used a button to set flash mode on and off when required. This method works perfectly for Capturing still image and is not working for Video mode. Below is my code please help. TIA
class func setFlashMode(_…

iDeveloper
- 940
- 1
- 10
- 45
4
votes
2 answers
Spanish support for Retake and Use photo buttons of UIImagePickerController
I am developing an app that supports Spanish content, which i am achieving through localised strings.
Now i would like to know if there is any way to give Spanish support for the buttons Retake and Use Photo of UIImagePickerController
Have attached…

Manju Basha
- 665
- 1
- 9
- 29
4
votes
2 answers
Camera crash randomly
My app works well the 99% of times but 1% it's crashing after opening the camera, we are getting a random crash. This is the stacktrace from Crashlytics:
Crashed: com.apple.camera.avcapturesession
0 libobjc.A.dylib 0x194d8fbd0…

JoseF
- 1,261
- 13
- 30
4
votes
1 answer
iOS : How to activate image stabilization on an AVCaptureSession?
I'd like to capture stabilized images in my app but I haven't found the required configuration to acheive it.
This is my code :
let frontCamera = cameraWithPosition(AVCaptureDevicePosition.Front)
let captureSession = AVCaptureSession()
if…

Cherif
- 5,223
- 8
- 33
- 54
4
votes
1 answer
How do I use AVCaptureFlashMode
I'm making an app to allow me to stitch images together into a panoramic scene. I want to be able to turn the Flash LED on the iPhone 4 programatically.
How can I do this?
I read the documentation and discovered that I need to use…

Cocoa Dev
- 9,361
- 31
- 109
- 177
4
votes
1 answer
Height and width of object using camera in iOS
I am working on a small education demo which should measure height and width of the object using iOS camera.
EDIT:
I have a new theory to measure the width of an object.
In above image, if i can get Angle α and Angle ß, i can get width of the…

Akshit Zaveri
- 4,166
- 6
- 30
- 59
4
votes
1 answer
Camera direct to OpenGL texture on iOS
On Android, it is possible to make the camera write its output directly to an OpenGL texture (of type GL_TEXTURE_EXTERNAL_OES), avoiding buffers on the CPU altogether.
Is such a thing possible on iOS?

Kasper Peeters
- 1,580
- 2
- 18
- 37
4
votes
0 answers
Custom Overlay Of Camera Controls and how to apply actions in iOS
I am Using an Custom overlay for Developing a Camera application on iOS using cordova 3.0
inside the take picture function i am trying to keep custom button's for camera , gallery and flip
so when i am applying actions to the buttons its not…

iOSGeek_2014
- 67
- 8
3
votes
1 answer
iOS Camera crash
I have a NavigationController that is connected with UIViewController which I called ScanViewController. In that controller, I want to start the camera and I have just this simple code snippet in viewDidLoad and there is no code there beside this…

Yupi
- 4,402
- 3
- 18
- 37
3
votes
0 answers
Appium Camera Image Injection
Majority of cloud device farms provide Camera Image Injection feature in both ios and android (with some…

Dileep17
- 299
- 3
- 18
3
votes
0 answers
Use camera in react native app with background audio playing? (Like a song from music app)
When recording a video or opening the camera with react native background audio is paused.
Is there a specific or recommended way to allow background audio to play when the camera is open?
I am using react-native-camera and have used…

hugger
- 426
- 4
- 19
3
votes
1 answer
ARKit mirror/flip camera layer
I've made an iPad ARKit application that shows a 3D object on the floor and it works great, love ARKit! However, the iPad gonna be connected to a TV through HDMI so that people can see them selfs on the TV besides the object. The issue I have now is…

Riyan Fransen
- 534
- 1
- 3
- 14
3
votes
1 answer
Present native iOS document scanner?
iOS 11 has a built in document scanner that you can launch from Notes. I’d like to scan documents for my app, is there a way to present the native document scanner and receive its images?

TruMan1
- 33,665
- 59
- 184
- 335
3
votes
1 answer
Capacitor - Trying to catch the cancel on camera
I am using Capacitor with Ionic 4 and I would like to catch when the user taps on cancel when on the camera.
public async takePicture(): Promise {
const image: CameraPhoto = await Camera.getPhoto({
quality: 90,
…

Xerri
- 4,916
- 6
- 45
- 54
3
votes
3 answers
Cordova Ios App crashes on Camera Access
I am creating a Cordova application in Windows(due to unavailability of Mac) using JQuery for IOs and remote building on Phonegap cloud. but the issue is when i try getting image from camera of my iPhone(Os v-11.3) through cordova-plugin-camera the…

mr debug
- 189
- 1
- 2
- 16