Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose image stabilization for AVCaptureStillImageOutput #18

Open
eliburke opened this issue May 5, 2015 · 0 comments
Open

Expose image stabilization for AVCaptureStillImageOutput #18

eliburke opened this issue May 5, 2015 · 0 comments

Comments

@eliburke
Copy link

eliburke commented May 5, 2015

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant