开发者

iOS 4 Location Service Prompt Dialog Doesn't Show Up

I'm experiencing an issue with how iOS 4 manage Location Service. Previously, when the location service is disabled, any application that uses location service will prompt the user to turn it on. However, in iOS 4, it didn't prompt that dialog box and just stays quiet. Is there a way to call the default dialog box which ask the user to turn on the location service, or did they remove开发者_运维百科 that and requires the developers to create their own dialog box?


If the user doesn't want any apps to know their location, you shouldn't nag them. The user can also disable location services for specific apps.


There is a way to detect this behavior with Javascript in the browser - the error returned has a different code and message - so I imagine that there's a way to do this with an actual app as well.

Not an Obj-C coder, though, so can't actually help out with details. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜