☆
Size: a a a
☆
☆
☆
AO
URLComponents
☆
AO
☆
ST
MI
GMUGeometryRenderer(map: self.mapView, geometries: kmlParser.placemarks, styles: kmlParser.styles)
вызываются они от этого свойства geometries: kmlParser.placemarks
, если убрать его то все норм, но не прорисовывается карта, в чем может быть причина ?Д
S
S
let config = URLSessionConfiguration.background(withIdentifier: "MySession")
config.isDiscretionary = false
config.sessionSendsLaunchEvents = true
config.allowsCellularAccess = true
config.shouldUseExtendedBackgroundIdleMode = true
if #available(iOS 11.0, *) {
config.waitsForConnectivity = true
}
let urlSession = URLSession(configuration: config, delegate: self, delegateQueue: nil)
let _url = URL(string: url)!
print(url)
let task = urlSession.downloadTask(with: _url)
task.resume()
☆