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
Post a Comment