Class IOSPositionService

java.lang.Object
com.gluonhq.attach.position.impl.IOSPositionService
All Implemented Interfaces:
PositionService

public class IOSPositionService extends Object implements PositionService
An implementation of the PositionService for the iOS platform. Important note: it requires adding to the info.plist file: <key>NSLocationUsageDescription</key> <string>Reason to use Location Service (iOS 6+)</string> <key>NSLocationWhenInUseUsageDescription</key> <string>Reason to use Location Service (iOS 8+)</string> With Background mode enabled <key>UIBackgroundModes</key> <array> <string>location</string> </array> <key>NSLocationUsageDescription</key> <string>Reason to use Location Service (iOS 6+)</string> <key>NSLocationAlwaysUsageDescription</key> <string>Reason to use Location Service (iOS 8+) in background</string> <key>NSLocationAlwaysAndWhenInUseUsageDescription</key> <string>Reason to use Location Service (iOS 8+) in background</string>
  • Property Details

  • Constructor Details

    • IOSPositionService

      public IOSPositionService()
  • Method Details