hi.. had same problem.. i found this article about weird action... ==> http://www.thecssninja.com/javascript/geolocation-iphone according to that article, to solve? this problem.. maybe.. restore your phone back to a time before you initially disallowed location access for your site. just try.. I had same problem, but I didn't restore my phone.. I changed port(not using 80) after that.. now I can get my current postion..
but I still don't understand the meaning of error message.. and I got PERMISSION_DENIED (code 1) if I disallowed using my location, but error messag was NOT "User disallowed GeoLocation" i always got this error message - "Operation could not be Completed(KCLErrorDomain error1.)".. still don't have any clue... when safari returns error code 1 with "User disallowed GeoLocation". did you solve this problem? .... On 2월12일, 오후2시20분, Justin McConnell <[email protected]> wrote: > I'm trying to re-enable location warnings within Safari for the > website I am developing. I did Settings -> General -> Reset -> Reset > Location Warnings. That only half fixed the problem. Now when I call > navigator.geolocation.getCurrentPosition in Safari it will prompt me. > But, when I click the Allow button my error callback function gets > invoked and the message is still "User disallowed GeoLocation." This > is the same error message I was receiving before I reset location > warnings. Is this a bug or is there something I am missing? -- You received this message because you are subscribed to the Google Groups "iPhoneWebDev" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/iphonewebdev?hl=en.
