PreviewViewController

@MainActor
public class PreviewViewController : UIViewController

Base preview view controller that describes properties and views of all preview controllers

Preview Properties

  • Snapchat delegate for open requests

    Declaration

    Swift

    @MainActor
    public weak var snapchatDelegate: SnapchatDelegate? { get set }
  • Callback when user presses close button and dismisses preview view controller

    Declaration

    Swift

    @MainActor
    public var onDismiss: (() -> Void)?

Setup

  • Undocumented

    Declaration

    Swift

    @MainActor
    override public func viewDidLoad()

Overridable Actions

  • Undocumented

    Declaration

    Swift

    @objc
    @MainActor
    open func openSnapchatPressed(_ sender: UIButton)
  • Undocumented

    Declaration

    Swift

    @objc
    @MainActor
    open func savePreviewPressed(_ sender: UIButton)
  • Undocumented

    Declaration

    Swift

    @objc
    @MainActor
    open func sharePreviewPressed(_ sender: UIButton)