Instance Method

updateRegion:completionHandler:

Changes the region associated with this event.

Declaration

- (void)updateRegion:(CLRegion *)region completionHandler:(void (^)(NSError *error))completion;

Parameters

region

New region on which the event is triggered. Must have at least one of notifyOnEntry or notifyOnExit set to YES.

completionHandler

The block executed when the region update request has been processed.

error

nil on success; otherwise, error object indicating the reason for failure.