MenuToolController
@available(iOS 9.0, *)
@objcMembers
@objc(PESDKMenuToolController)
open class MenuToolController : PhotoEditToolController, MenuViewControllerDelegate
A MenuToolController
is a tool controller, that shows a menu at the bottom (via a contained
MenuViewController
object) and some other view controller above that menu.
-
The menu view controller that is contained in this tool controller.
Declaration
Swift
public let menuViewController: MenuViewController
-
The content view controller whose view is shown above the menu.
Declaration
Swift
public let contentViewController: UIViewController
-
Creates a new
MenuToolController
with the given content and menu view controllers and aConfiguration
object.Declaration
Swift
public init?(contentViewController: UIViewController, menuViewController: MenuViewController, configuration: Configuration, productType: LicenseProduct)
Parameters
contentViewController
Any view controller that is shown above the menu.
menuViewController
A
MenuViewController
object.configuration
A
Configuration
object.productType
The product that this tool is used in.