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

custom icons #57

Open
jothikannan opened this issue Dec 14, 2018 · 4 comments
Open

custom icons #57

jothikannan opened this issue Dec 14, 2018 · 4 comments

Comments

@jothikannan
Copy link

Hi,

Is there any way to add our custom icons in the Editor view? Like Crop, Save.. etc

@marinofaggiana
Copy link

Confirm, the system of ttf file is unusual

@ttorbik
Copy link
Contributor

ttorbik commented Jan 25, 2019

I second this, is there a way to do this?

@grd888
Copy link

grd888 commented Jan 28, 2019

I just submitted pull request #63 . It allows you to customize all icons by simply initializing the following variables after instantiating PhotoEditorViewController:

cropButtonImage
stickerButtonImage
drawButtonImage
textButtonImage
saveButtonImage
shareButtonImage
clearButtonImage
continueButtonImage

For example:

let photoEditor = PhotoEditorViewController(nibName:"PhotoEditorViewController",bundle: Bundle(for: PhotoEditorViewController.self))
photoEditor.cropButtonImage = UIImage(named: 'crop')

@midhunnarayan22
Copy link

Value of type 'PhotoEditorViewController' has no member 'stickerButtonImage' 😒

I need to update my pod?
Which is the latest version?

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

5 participants