N
N
NONAME82018-04-21 17:26:47
iOS
NONAME8, 2018-04-21 17:26:47

How to take a photo programmatically without calling the camera?

I want to take a photo on the front camera at the touch of a button. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Vyacheslav Beltyukov, 2018-04-23
@maestrro712

This can be done, but only when the application is active. Work with the camera must be done through AVFoundation. The topic is quite complicated to paint it now, google "AVFoundation capture session"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question