The UIWeb
protocol defines methods that a delegate of a UIWeb
object can optionally implement to intervene when web content is loaded.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
protocol UIWebViewDelegate
Overview
Important
Before releasing an instance of UIWeb
for which you have set a delegate, you must first set the UIWeb
delegate property to nil
before disposing of the UIWeb
instance. This can be done, for example, in the dealloc method where you dispose of the UIWeb
.