Protocol

WebFrameLoadDelegate

No overview available.

Declaration

@protocol WebFrameLoadDelegate

Topics

Instance Methods

- webView:didCancelClientRedirectForFrame:

Called when a client redirect is cancelled.

- webView:didChangeLocationWithinPageForFrame:

Called when the scroll position within a frame changes.

- webView:didClearWindowObject:forFrame:

Called when the JavaScript window object in a frame is ready for loading.

- webView:didCommitLoadForFrame:

Called when content starts arriving for a page load.

- webView:didCreateJavaScriptContext:forFrame:

Notifies the delegate that a new JavaScript context has been created.

- webView:didFailLoadWithError:forFrame:

Called when an error occurs loading a committed data source.

- webView:didFailProvisionalLoadWithError:forFrame:

Called if an error occurs when starting to load data for a page.

- webView:didFinishLoadForFrame:

Called when a page load completes.

- webView:didReceiveIcon:forFrame:

Called when a page icon changes.

- webView:didReceiveServerRedirectForProvisionalLoadForFrame:

Called when a provisional data source for a frame receives a server redirect.

- webView:didReceiveTitle:forFrame:

Called when the page title of a frame loads or changes.

- webView:didStartProvisionalLoadForFrame:

Called when a page load is in progress in a given frame.

- webView:willCloseFrame:

Called when a frame will be closed.

- webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:

Called when a frame receives a client redirect and before it is fired.

- webView:windowScriptObjectAvailable:

Called when a frame’s scripting object for a page is available. Use the webView:didClearWindowObject:forFrame: method instead.

Relationships

Inherits From

See Also

Working with Frames (Legacy)

WebFrame

A WebFrame object encapsulates the data displayed in a WebFrameView object. There is one WebFrame object per frame displayed in a WebView. An entire webpage is represented by a hierarchy of WebFrame objects in which the root object is called the main frame.

Deprecated
WebDataSource

WebDataSource encapsulates the web content to be displayed in a web frame view. A WebDataSource object has a representation object, conforming to the WebDocumentRepresentation protocol, that holds the data in an appropriate format depending on the MIME type. You can extend WebKit to support new MIME types by implementing your own view and representation classes, and specifying the mapping between them using the registerViewClass:representationClass:forMIMEType: WebView class method.

Deprecated
WebFrameView

WebFrameView objects and their subviews display the web content contained in a frame. You never create instances of WebFrameView directly—WebView objects create and manage a hierarchy of WebFrameView objects, one for each frame. WebFrameView objects use a scroll view whose document view conforms to the WebDocumentView protocol.

Deprecated