photo-editor icon indicating copy to clipboard operation
photo-editor copied to clipboard

custom icons

Open jothikannan opened this issue 6 years ago • 4 comments

Hi,

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

jothikannan avatar Dec 14 '18 08:12 jothikannan

Confirm, the system of ttf file is unusual

marinofaggiana avatar Jan 19 '19 13:01 marinofaggiana

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

ttorbik avatar Jan 25 '19 00:01 ttorbik

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')

grd888 avatar Jan 28 '19 22:01 grd888

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

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

midhunnarayan22 avatar Oct 28 '20 09:10 midhunnarayan22