Initializes the central manager with specified delegate, dispatch queue, and initialization options.


init(delegate: CBCentralManagerDelegate?, queue: DispatchQueue?, options: [String : Any]? = nil)



The delegate to receive the central events.


The dispatch queue to use to dispatch the central role events. If the value is nil, the central manager dispatches central role events using the main queue.


An optional dictionary containing initialization options for a central manager. For available options, see Central Manager Initialization Options.

Return Value

Returns a newly initialized central manager.


This method is the designated initializer for the CBCentralManager class.

See Also

Initializing a Central Manager

init(delegate: CBCentralManagerDelegate?, queue: DispatchQueue?)

Initializes the central manager with a specified delegate and dispatch queue.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software