title: Can't find location and Alert dismiss automatic in iOS
body: <pre><code>import UIKit
  import MapKit
  import CoreLocation
  
  class ViewController: UIViewController, CLLocationManagerDelegate {
  
      @IBOutlet weak var mapKit: MKMapView!
  
      func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
          let location = locations[0]
          let span: MKCoordinateSpan = MKCoordinateSpanMake(0.01, 0.01)
          let myLocation: CLLocationCoordinate2D = CLLocationCoordinate2DMake(location.coordinate.latitude, location.coordinate.longitude)
          let region: MKCoordinateRegion = MKCoordinateRegionMake(myLocation, span)
          mapKit.setRegion(region, animated: true)
          self.mapKit.showsUserLocation = true
      }
  
      override func viewDidLoad() {
          super.viewDidLoad()
          let manager = CLLocationManager()
          manager.delegate = self
          manager.desiredAccuracy = kCLLocationAccuracyBest
          manager.requestAlwaysAuthorization()
          manager.startUpdatingLocation()
      }
  }
  </code></pre>
  
  <p>This is my source code. and I'm Using Xcode 9 and swift 4.0</p>
  
  <p>When I build and run, debug area print this "Could not inset legal attribution from corner 4", and Using GPS alert automatic dismiss. So I can't accept using GPS allow.</p>
  
  <p>I also complete info.plist setting like this.</p>
  
  <p>Privacy - Location Always and When In Use Usage Description
  Privacy - Location Always Usage Description
  Privacy - Location When In Use Usage Description.</p>
  
  <p>What is the problem?</p>