Type Method

deferredLocationUpdatesAvailable

Returns a Boolean value indicating whether the device supports deferred location updates.

Declaration

+ (BOOL)deferredLocationUpdatesAvailable;

Return Value

YES if the device supports deferred location updates or NO if it does not.

Discussion

Deferred location updates are a way for the location manager to avoid frequently waking up a background app to deliver location changes. Normally, when an app wants location updates in the background, the app must be woken up whenever a new event arrives. Waking up the app consumes power, which in some situations might be wasted if the app cannot do anything with the location information other than log it and go back to sleep anyway. Deferring location updates gives you the ability to wait until a time when your app can do something useful with the data and then process the updates all at once.

Deferred location updates require the presence of GPS hardware and may not be supported on all iOS devices.

See Also

Determining the Availability of Services

+ authorizationStatus

Returns the app’s authorization status for using location services.

+ locationServicesEnabled

Returns a Boolean value indicating whether location services are enabled on the device.

+ significantLocationChangeMonitoringAvailable

Returns a Boolean value indicating whether the significant-change location service is available.

+ headingAvailable

Returns a Boolean value indicating whether the location manager is able to generate heading-related events.

+ isMonitoringAvailableForClass:

Returns a Boolean value indicating whether the device supports region monitoring using the specified class.

+ isRangingAvailable

Returns a Boolean value indicating whether the device supports ranging of Bluetooth beacons.

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