setAdapterFactoryBlock

Sets a factory block for a custom display adapter. If the factory block returns a nil adapter, the default adapter will be used.

Parameters

type

: The type

factoryBlock

: The factory block