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

Show the extensionType if DKImageExtension is not found #685

Merged
merged 1 commit into from
Sep 14, 2021
Merged

Show the extensionType if DKImageExtension is not found #685

merged 1 commit into from
Sep 14, 2021

Conversation

pzarfos
Copy link
Contributor

@pzarfos pzarfos commented Mar 21, 2021

I did not register the camera extension in my calling code, and got the "No DKImageExtension found" message. This PR debug-prints the name of the extension it is looking for.

To avoid this error message in the first place, register the camera first by calling:
DKImageExtensionController.registerExtension(extensionClass: DKImageExtensionCamera.self, for: .camera)

@zhangao0086 zhangao0086 merged commit 7cc132a into zhangao0086:develop Sep 14, 2021
@pzarfos pzarfos deleted the feature/dkimageextension_message branch September 17, 2021 18:46
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

Successfully merging this pull request may close these issues.

2 participants