如何使我的ios应用程序出现在设置中的位置服务中 [英] How to make my ios app appears in Location Services in the settings
本文介绍了如何使我的ios应用程序出现在设置中的位置服务中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我写了一个CLLocationManager ios应用程序。但是,我无法看到我的应用程序出现在我的iPhone设置中的位置服务中。我是否需要在Xcode中的ios项目中的plist中设置特定值?提前致谢!
I wrote an CLLocationManager ios app. However, I cannot see my app appears in the Location Services in the settings on my iPhone. Do I need to set a specific value in plist in my ios project in Xcode? Thanks in advance!
推荐答案
一旦实际需要进行位置跟踪的代码被调用,它就会自动出现(每当弹出窗口显示时:你允许......)
It should appear automatically once code that actually requires location tracking is being called (whenever the popup first show: do you allow...)
尝试这样的话:
[self.locationManager startUpdatingLocation];
应该这样做
这篇关于如何使我的ios应用程序出现在设置中的位置服务中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文