简体   繁体   中英

Use MapView in iOS without internet connection

Can we show current user location on MapView in iOS without internet? Also is it possible to show route between current location and some other location without internet? Any help will be appreciated.

Yes, you can. User location can be retrieved via cellular or GPS (if exists) without Wi-Fi. Core Location deals with that (source for retrieving location) internally.

For more information you can take a look at this piece of my code

You may also find somehow helpful this answer and definitely take a look here which is almost your question.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM