using imglyKit library for iOS, how can i remove the "Transform", crop tool from the image editor.
Asked
Active
Viewed 54 times
1 Answers
1
You can remove any menuItem from default menu items. Try this
let configuration = buildConfiguration()
var menuItems = MenuItem.defaultItems(with: configuration)
menuItems.removeFirst() // Remove first menu item ('Transform')
// Create a photo edit view controller
let photoEditViewController = PhotoEditViewController(photo: photo, menuItems: menuItems, configuration: configuration)

RajeshKumar R
- 15,445
- 2
- 38
- 70