One Logo Pool Ball
WebKit · IOS API REFERENCE

WebPage.FormInfo

struct · iOS 27.0+ · SDK 27.1

@MainActor struct FormInfo

A type that contains information about a form submission from a webpage.

Members (5)

get · iOS 27.0+

formValues

TypeScript
get formValues(): Promise<Record<string, string>>
Swift declaration
@MainActor var formValues: [String : String] { get }

A dictionary of the form values that will be submitted during the navigation.

get · iOS 27.0+

httpMethod

TypeScript
get httpMethod(): Promise<string>
Swift declaration
@MainActor var httpMethod: String { get }

The HTTP method used to submit the form; generally either @"GET" or @"POST".

get · iOS 27.0+

sourceFrame

TypeScript
get sourceFrame(): Promise<WebPage_FrameInfo>
Swift declaration
@MainActor var sourceFrame: WebPage.FrameInfo { get }

The frame that caused the form submission.

get · iOS 27.0+

targetFrame

TypeScript
get targetFrame(): Promise<WebPage_FrameInfo>
Swift declaration
@MainActor var targetFrame: WebPage.FrameInfo { get }

The frame where the form is being submitted will cause a navigation.

get · iOS 27.0+

submissionURL

TypeScript
get submissionURL(): Promise<string>
Swift declaration
@MainActor var submissionURL: URL { get }

The URL that the frame is being navigated to.

Skipped declarations

No declarations were skipped in this snapshot.

All WebKit types →