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

Custom icons

Open grd888 opened this issue 6 years ago • 1 comments

Hello,

I added the capability to change several icons with custom images by adding several public variables that can be initialized after PhotoViewController is initialized, something like:

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

grd888 avatar Jan 28 '19 22:01 grd888

@grd888 good but please, add the reference for cancelButton and cancelButtonImage ;)

marinofaggiana avatar Jan 31 '19 10:01 marinofaggiana