Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

In this Discussion

Checking suitability

So let’s see if this is suitable

// Get the back-facing camera for capturing videos

    // AVCaptureDevice.default(.builtInWideAngleCamera, for: AVMediaType.video, position: .back)
    let deviceDiscoverySession = AVCaptureDevice.default(.builtInWideAngleCamera, for: AVMediaType.video, position: .back)

   guard let captureDevice = deviceDiscoverySession else {
       print("Failed to get the camera device")
       return
   }

Comments

  • Seems to handle code ok? Uses Markdown. Easy to subscribe.

  • Works kind of ok even on an iPhone SE. Awards tokens., knows about user icons.
    Seems to be ok security.
    Remains to set it up and try it.

Sign In or Register to comment.