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

Is there any way to use more than one customAspectRatio preset? #589

Open
smalldevcloud opened this issue Aug 12, 2024 · 0 comments
Open
Assignees
Labels

Comments

@smalldevcloud
Copy link

smalldevcloud commented Aug 12, 2024

Below is the code that defines one custom preset. But if you need more ( "Own preset 2", "Own preset 3") ? Or if you need to change the names of existing presets?

        cropViewController.customAspectRatio = CGSize(width: 4, height: 5)
        cropViewController.customAspectRatioName = "Own preset 1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants