TOCropViewController icon indicating copy to clipboard operation
TOCropViewController copied to clipboard

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

Open smalldevcloud opened this issue 1 year ago • 1 comments

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"

smalldevcloud avatar Aug 12 '24 15:08 smalldevcloud

Yeah, that's not currently supported. Feel free to make a PR. :)

TimOliver avatar Sep 23 '25 08:09 TimOliver