StackLayoutToolController

@objc(PESDKStackLayoutToolController) open class StackLayoutToolController: PhotoEditToolController

A StackLayoutToolController presents a workspace view at the top and an accessory view at the bottom. The accessory view is usually used for the menu, while the workspace view hosts any other controls.

  • The workspace view. If you want to add any controls to your tool, you will most likely add them to this view.

    Declaration

    Swift

    open var workspaceView = UIView()
  • The accessory view. This view usually only hosts the menu.

    Declaration

    Swift

    open var accessoryView = UIView()
  • If wantsScrollingInDefaultPreviewViewEnabled is true, this is the scroll view that acts as a proxy scroll view for the underlying image scroll view.

    Declaration

    Swift

    open var toolControllerScrollView: UIScrollView?
  • If `wantsScrollingInDefaultPreviewViewEnabled is true, this acts as the content view of the toolControllerScrollView.

    Declaration

    Swift

    open var dummyScrollContentView: UIView?