init
TypeScriptstatic init(identifier: string, URL: string, options?: (NativeMap<unknown, unknown>) | null): UNNotificationAttachmentSwift declarationconvenience init(identifier: String, url URL: URL, options: [AnyHashable : Any]? = nil) throwsclass · iOS 10.0+ · SDK 27.1
class UNNotificationAttachmentstatic init(identifier: string, URL: string, options?: (NativeMap<unknown, unknown>) | null): UNNotificationAttachmentSwift declarationconvenience init(identifier: String, url URL: URL, options: [AnyHashable : Any]? = nil) throwsget url(): stringSwift declarationvar url: URL { get }get identifier(): stringSwift declarationvar identifier: String { get }get type(): stringSwift declarationvar type: String { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UNNotificationAttachment.init()
inherited init: cannot prove legal (class declares 2 custom initializers)