【问题标题】:how to remove "transform" on edit screen imglykit iOS如何在编辑屏幕imglykit iOS上删除“转换”
【发布时间】:2017-03-07 04:11:05
【问题描述】:

使用 iOS 的 imglyKit 库,如何从图像编辑器中删除“转换”、裁剪工具。

【问题讨论】:

    标签: ios imglykit


    【解决方案1】:

    您可以从默认菜单项中删除任何 menuItem。试试这个

        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)
    

    【讨论】:

      猜你喜欢
      • 2011-02-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2022-01-18
      • 2010-10-02
      • 1970-01-01
      相关资源
      最近更新 更多