Skip to content

IOS bug: The torch cannot be activated on IOS #18

@cjohn001

Description

@cjohn001

The bug here #8 was not resolved. As the title says, on iOS I cannot activate the torch. However, I now got an additional error message in the debugger which might help.

ERROR Error: *** -[AVCaptureDevice setTorchMode:] May not be called without first successfully gaining exclusive ownership of the device using -lockForConfiguration:

Seems like the device needs to be exclusively locked somewho in order to be able to change the torch state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions