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

How to configure to return to camera view after accepting photo in previewer #34

Closed
splons opened this issue Jul 21, 2024 · 4 comments
Closed
Assignees

Comments

@splons
Copy link

splons commented Jul 21, 2024

I have an application where the user will likely want to take multiple photos in a session. I would like to configure so that when they accept a photo in the preview it takes them back to the live photo screen to take another. Thank you.

@FulcrumOne
Copy link
Contributor

Hey @splons,

Ahh, apologies, seems I forgot to implement this obvious use case.
I'm adding this request to the backlog.

Best regards,
Tomasz

@FulcrumOne FulcrumOne self-assigned this Jul 22, 2024
@FulcrumOne
Copy link
Contributor

FulcrumOne commented Jul 27, 2024

hey @splons,

The feature was implemented in the version 2.1.0. Could you check whether it works as expected?

Here's an example of how it works:

MCameraController(manager: manager)
    .afterMediaCaptured { $0
        .returnToCameraView(true)
        .closeCameraController(false)
        .custom { print("Something") }
    }

@splons
Copy link
Author

splons commented Jul 27, 2024 via email

@FulcrumOne FulcrumOne mentioned this issue Jul 27, 2024
FulcrumOne added a commit that referenced this issue Jul 28, 2024
feat:
- Added possibility to customise DefaultCameraView (#33)
- Added option to change camera frame rate (#28)
- Extended ability to customise behaviour after media capture (#34)
- Added ability to change camera resolution

fix:
- Fixed problem with package manager (#29)
@splons
Copy link
Author

splons commented Jul 30, 2024

@FulcrumOne thank you for the fast action on this request. Tried it out and it works exactly as expected. Much appreciated!

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

2 participants