Trying to modify ckrecord in swift
问题 I want the users' location to be updated in cloudkit but my code just save a new record every time. How can the existing record be modified or replaced by the new one? func locationManager(manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) { let location = locations.last let center = CLLocationCoordinate2D(latitude: location!.coordinate.latitude, longitude: location!.coordinate.longitude) let region = MKCoordinateRegion(center: center, span: MKCoordinateSpan(latitudeDelta