guoyingtao / Mantis

An iOS Image cropping library, which mimics the Photo App written in Swift.
MIT License
926 stars 184 forks source link

change background from crop view controller #237

Closed Azilla030 closed 1 year ago

Azilla030 commented 1 year ago

Hey everyone,

how I change the background from the crop view controller self. I attach an image what I mean.

Kind Regards

Alex IMG_0320

BagmetDenis commented 1 year ago

I'm trying out this trick, but it's not perfect - editor.view.backgroundColor = UIColor.red

guoyingtao commented 1 year ago

@Azilla030 Mantis does not support changing CropViewController background color yet, but I am considering to add it in the future.

Azilla030 commented 1 year ago

Thanks for the information!

guoyingtao commented 1 year ago

In Mantis 2.10.0, you can set CropViewConfig.backgroundColor now.

guoyingtao commented 1 year ago

@Azilla030 Since Mantis 2.10.0 fixed the issue, I close it for now. You can reopen it when you find new issues.