Instance Method


Closes the web view when it’s no longer needed.


- (void)close;


Closes the web view by unloading its webpage and canceling any pending load requests. A closed web view no longer responds to new requests nor sends delegate messages. It is invoked automatically if the receiver’s enclosing window or host window is closed and sending shouldCloseWithWindow to the receiver returns YES. Use this method to stop the receiver from loading and sending delegate messages.

See Also

Closing the View


A Boolean that indicates whether the web view should close when its window or host window closes.