本文介绍了如何判断iOS设备是否有GPS?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
对于iPad或iPod touch,有没有办法找出该设备是否有GPS?
For an iPad, or iPod touch, is there a way to find out if the device has GPS?
额外信用:如果iPad本身没有,但是它连接到第三方GPS装置?我可以确定吗?
Extra Credit: What if the iPad itself does not, but it is connected to a third-party GPS unit? Can I determine this?
推荐答案
对于iOS 6或更高版本,您可能想尝试
For iOS 6 or higher, you might want to try
+ (BOOL)[CLLocationManager deferredLocationUpdatesAvailable]
根据:
这篇关于如何判断iOS设备是否有GPS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!