Tag:Plist settings

  • Geographic location acquisition and plist setting in IOS

    Time:2020-5-31

    1. Get geographic location information at the front desk ios 8/9 stay info.plist The value of nslocationwheninuseusagedescription is configured in, otherwise the above method is invalid Call. Requestwheninuseautomation() to get the foreground to get the geographic location permission Call. Startupdatinglocation() Code example class ViewController: UIViewController { lazy var locateM : CLLocationManager = { let locate […]