Contents

SCDynamicStoreKeyCreateLocation(_:)

Creates a key that can be used to receive notifications when the location identifier changes.

Declaration

func SCDynamicStoreKeyCreateLocation(_ allocator: CFAllocator?) -> CFString

Parameters

  • allocator:

    The allocator that should be used to allocate memory for this key. This parameter may be NULL in which case the current default allocator is used. If this value is not a valid Cfallocator, the behavior is undefined.

Return Value

A notification string for the current location identifier.

Discussion

Use this key with the SCDynamicStoreSetNotificationKeys(_:_:_:) function.

See Also

Group