Contents

liveUpdaterWithQueue:handler:

Creates a location updater on the queue you specify.

Declaration

+ (instancetype) liveUpdaterWithQueue:(dispatch_queue_t) queue handler:(void (^)(CLUpdate *update)) handler;

Parameters

  • queue:

    Specifies the queue to which the framework submits the handler with each available update

  • handler:

    The block that the framework invokes with each update.

Return Value

Returns a location updater instance with the specified queue and update handler.

See Also

Creating a location updater