0

I am making an iOS application and need to get the location of a user. I just need to get the state/province of the user and so a cell-tower signal will serve the purpose. Is there an iOS API that will allow me to do this ?

Thanks

4

2 回答 2

0

正如 Jake 建议的那样,Core location 将是您最好的选择,请尝试使用一些示例代码 How to find your current location with CoreLocation

于 2013-01-22T01:40:22.833 回答
0

查看位置感知编程指南中的“获取用户位置

于 2013-01-22T01:40:35.570 回答