url
TypeScriptget url(): (string) | nullSwift declarationvar url: URL? { get }A URL created from the components.
struct · iOS 26.2+ · SDK 27.1
struct ASAutoFillURLScopeThis structure represents the subset of URL components supported for the AutoFill of credentials.
get url(): (string) | nullSwift declarationvar url: URL? { get }A URL created from the components.
static initUrl(url: string): (ASAutoFillURLScope) | nullSwift declarationinit?(url: URL)Initialize with the components of a URL. If the url string from the URL is malformed, nil is returned. - Parameters: - url: The URL to expand.
get host(): stringSwift declarationvar host: StringThe host subcomponent.
set host(value: string)Swift declarationvar host: StringThe host subcomponent.
get path(): stringSwift declarationvar path: StringThe path subcomponent.
set path(value: string)Swift declarationvar path: StringThe path subcomponent.
get port(): (number) | nullSwift declarationvar port: Int?The port subcomponent.
set port(value: (number) | null)Swift declarationvar port: Int?The port subcomponent.
static initSchemeHostPortPath(scheme: ASAutoFillURLScope_Scheme, host: string, port?: (number) | null, path?: string): ASAutoFillURLScopeSwift declarationinit(scheme: ASAutoFillURLScope.Scheme = .https, host: String, port: Int? = nil, path: String = "")Creates a URL components instance
get scheme(): ASAutoFillURLScope_SchemeSwift declarationvar scheme: ASAutoFillURLScope.SchemeThe scheme subcomponent of the URL.
set scheme(value: ASAutoFillURLScope_Scheme)Swift declarationvar scheme: ASAutoFillURLScope.SchemeThe scheme subcomponent of the URL.
No declarations were skipped in this snapshot.