LocationManagerDelegate

@objc public protocol LocationManagerDelegate

LocationManagerDelegate Protocol

  • The user authorized the application to receive location updates

    Declaration

    Swift

    @objc optional func authorizationDidSucceed()
  • The user denied the application from receiving location updates.

    Declaration

    Swift

    @objc optional func authorizationDenied()
  • The user is restricted from authorizing the application for location updates. This is normally due to parental control lockout.

    Declaration

    Swift

    @objc optional func authorizationRestricted()
  • The device received a new location.

    Declaration

    Swift

    @objc optional func locationDidUpdate(_ location: CLLocation)

    Parameters

    location

    The new location.