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 disable photo Editing mode. #64

Open
naveedmcs opened this issue Feb 14, 2022 · 1 comment
Open

How to disable photo Editing mode. #64

naveedmcs opened this issue Feb 14, 2022 · 1 comment

Comments

@naveedmcs
Copy link

config = FMPhotoPickerConfig()
config.selectMode = .multiple
config.mediaTypes = [.image]
config.maxImage = 20
config.maxVideo = 0

there is no option for disable edit photo in FMPhotoPickerViewController

@Abir-crypto
Copy link

Abir-crypto commented Jan 29, 2023

config.availableCrops = nil
config.availableFilters = nil

this will disable and hide the edit button

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