objective c - Getting directions via MapKit and location services -


i trying display directions user location destination. however, when initiate directions request error one:

"the operation couldn’t completed. (mklocationerrordomain error 0.)" userinfo=0x7f9bc05b1a30 {nslocalizedrecoverysuggestion=turn on location services allow (null) determine location}

now, evidently doesn't fact location services off. , since app never launched pop on requests permission makes sense. however, there way turn on location services using mapkit api? must import cllocation that?


Comments

Popular posts from this blog

Delphi XE2 Indy10 udp client-server interchange using SendBuffer-ReceiveBuffer -

Qt ActiveX WMI QAxBase::dynamicCallHelper: ItemIndex(int): No such property in -

Enable autocomplete or intellisense in Atom editor for PHP -