McFamous

Results 2 comments of McFamous

> I just run the example, it not work on iOS...... > > Unhandled Exception: PlatformException(bgTaskSchedulingFailed(Error Domain=BGTaskSchedulerErrorDomain Code=1 "(null)") error, Scheduling the task using BGTaskScheduler has failed. #441

@YandexMapKit Для визуализации данного кейса, можно воспользоваться [UserLocationViewController.swift](https://github.com/yandex/mapkit-ios-demo/blob/master/mapkit-demo/MapKitDemo/UserLocationViewController.swift) и в метод viewDidLoad() добавить следующий код: ``` guard let userLocation = YMKLocationManager.lastKnownLocation()?.position else { let alert = UIAlertController(title: nil, message: "Ошибка...