Skip to content
  • Timur Pocheptsov's avatar
    iOS 8 - CLLocationManager authorization · 78aa8a9f
    Timur Pocheptsov authored
    
    
    iOS8 introduced a new authorization scheme for Location data.
    Before retrieving location data, CLLocationManager must request authorization.
    Call two methods: requestAlwaysAuthorization/requestWhenInUseAuthorization
    on a location manager (which one will work/preferred - can be adjusted
    by setting NSLocationAlwaysUsageDescription/NSLocationWhenInUseUsageDescription
    entries in a plist).
    
    Task-number: QTBUG-41827
    Change-Id: I9fc24921dc7d889b629b2c71e7698a33fc6ae47a
    Reviewed-by: default avatarAlex Blasche <alexander.blasche@digia.com>
    78aa8a9f