photo-editor
photo-editor copied to clipboard
custom icons
Hi,
Is there any way to add our custom icons in the Editor view? Like Crop, Save.. etc
Confirm, the system of ttf file is unusual
I second this, is there a way to do this?
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')
Value of type 'PhotoEditorViewController' has no member 'stickerButtonImage' 😒
I need to update my pod? Which is the latest version?