How to make your own options in PhotoEditorSDK

111 Views Asked by At

I am trying to add my own option in PhotoEditorSDK 7.0

let tools [
           .tool("MY CONTROL", UIImage(named: "back", in: bundle, compatibleWith: nil)!, BrushController(configuration: configuration)),
        ]

let controller = PhotoEditViewController.init(photo: sampleImage, menuItems: mymenu , configuration: configuration)

I have created brush controller

How to implement it like its working on Build in brush controller. how to pass my PhotoEditViewController value to my controller

0

There are 0 best solutions below