AuthorizePhotoLibrary

public class AuthorizePhotoLibrary : NSObject, AuthorizeProtocol, @unchecked Sendable

相册授权

  • Undocumented

    Declaration

    Swift

    public static let shared: AuthorizePhotoLibrary
  • Undocumented

    Declaration

    Swift

    public static let addOnly: AuthorizePhotoLibrary
  • Undocumented

    Declaration

    Swift

    public init(addOnly: Bool = false)
  • Declaration

    Swift

    public func authorizeStatus() -> AuthorizeStatus
  • Declaration

    Swift

    public func requestAuthorize(_ completion: (@MainActor @Sendable (AuthorizeStatus, Error?) -> Void)?)