ImagePreviewView
@MainActor
public struct ImagePreviewView : UIViewControllerRepresentable
SwiftUI wrapper for the reference UI captured image preview view controller.
-
Creates a preview view.
Declaration
Swift
@MainActor public init(image: UIImage, snapchatDelegate: SnapchatDelegate?)Parameters
imagethe captured image to show
snapchatDelegatethe Snapchat delegate
-
Declaration
Swift
@MainActor public func makeUIViewController(context: Context) -> some UIViewController -
Declaration
Swift
@MainActor public func updateUIViewController(_ uiViewController: UIViewControllerType, context: Context)