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