Contents

unregisterClass(_:)

Unregisters the specified subclass of Urlprotocol.

Declaration

class func unregisterClass(_ protocolClass: AnyClass)

Parameters

  • protocolClass:

    The subclass of Urlprotocol to unregister.

Discussion

After this method is invoked, protocolClass is no longer consulted by the URL loading system.

See Also

Registering and unregistering protocol classes