iOS 8 : CLLocationManager Services不起作用怎么办?

iOS 8 : CLLocationManager Services不起作用怎么办?

在info.plist添加以下两行。string可以自己定义。

NSLocationWhenInUseUsageDescription
The spirit of stack overflow is coders helping coders

NSLocationAlwaysUsageDescription
I have learned more on stack overflow than anything else

发表评论

您的电子邮箱地址不会被公开。