Skip to content

Expose image stabilization for AVCaptureStillImageOutput #18

@eliburke

Description

@eliburke

Logan, thanks for your work on this wrapper. I've got a suggestion for an improvement. I didn't think a PR was necessary as it is pretty straightforward:

In the header file:
@Property BOOL isStabilizedMode;

In setup after the AVCaptureStillImageOutput object is created:
if (isStabilizedMode && _stillImageOutput.isStillImageStabilizationSupported) {
_stillImageOutput.automaticallyEnablesStillImageStabilizationWhenAvailable = YES;
}

This is iOS7+, so if you support older code bases it should be wrapped in a respondsToSelector

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions