2

So this is a general question but was looking for a lead on how to have the live camera view with the ability to add images on top and take a pic. So basically you can select like a "Hat" image that overlays on the camera, adjust its size and position, then take a pic and the "Hat" will be on the image you took. I saw a few directions like AVCaptureSession but was not sure if anyone has done something like this to point me in the right direction.

Daniyar
  • 2,975
  • 2
  • 26
  • 39
Packy
  • 3,405
  • 9
  • 50
  • 87

1 Answers1

0

Here is answer how to add a video layer:

Get Camera Preview to AVCaptureVideoPreviewLayer


You could add a subview on the top of your video view and then take a screenshot:

Why does my programmatically created screenshot look so bad on iOS 7?

Community
  • 1
  • 1
ArturOlszak
  • 2,653
  • 2
  • 21
  • 20