mapview details
Hi all i want to use the mapview sample code to know the current location.Please give me the code
开发者_高级运维Thanks in advance
In my opinion, mapview don't give the current location.
You have to use coreLocation (you can see LocateMe sample code)
Xcode has great sample code. Try searching for "LocateMe" in the Xcode documentation, which a sample app using maps and core location. If you have more specific questions, ask them here on Stack Overflow.
精彩评论