Type Method 型メソッド

unregisterClass(_:)

Unregisters the specified subclass of URLProtocol. 指定されたURLProtocolのサブクラスを登録解除します。

Declaration 宣言

class func unregisterClass(_ protocolClass: AnyClass)

Parameters パラメータ

protocolClass

The subclass of URLProtocol to unregister. 登録解除することになるURLProtocolのサブクラス。

Discussion 議論

After this method is invoked, protocolClass is no longer consulted by the URL loading system. このメソッドが発動される後、protocolClassはもはやURLローディングシステムによって考慮に入れられません。

See Also 参照

Registering and Unregistering Protocol Classes プロトコルクラスの登録および登録解除