Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPhone : take photo with front camera programmatically

Tags:

ios

camera

i want to take a picture programmatically by the front camera in my iphone app i don't want the user to pick or do any interaction with the image picker .. just want to take the image and save it in the document.. is that possible?

like image 879
Mohamed Emad Hegab Avatar asked Feb 19 '12 11:02

Mohamed Emad Hegab


People also ask

How can I take pictures on my iPhone without holding the button?

Step 1: Open the Camera app in the iPhone/iPad. Step 2: Frame the scene you want to take, just like normal. Step 3: Press the hardware volume up button to activate the camera shutter and take a picture.

What is iPhone mirror front camera?

What does Mirror Front Photos do? You may have already come across this setting in your camera settings and wondered what it was. When you turn it on and change to your front-facing camera, it will snap a photo that's your mirror image, instead of flipping it as the camera usually does.


1 Answers

As I can understand from your question, AV Foundation is all you need. Look at this demo sources from Apple: AVCam

like image 172
Nebary Avatar answered Oct 21 '22 18:10

Nebary