Discussion Forums  >  Uncategorized

Replies: 2    Views: 341

basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
04/13/11 03:36 AM (14 years ago)

map problem (iOS)

When I put my app together (using v1.5), I used the map feature to show the location of the store I'm developing the app for. When I test it on my iphone4, everything works perfectly until I click the right arrow beside the locator text, an option box comes up saying do you want to open the native maps application to route directions,ok or cancel. If I say Ok, I get this error message: It appears that device location information is unavailable. This feature will not work without location information. Could this be because I denied the location information when I first opened the app (I can't remember if I did that or not). I've checked in the iOS Settings/location services and my app does have location services on, and it has the little purple arrow icon beside it (even though that's not in the top right of the screen next to the battery information like it is when location services is in use). Any suggestions on how I can get this working? Do I need to turn on the yes, start GPS on launch in the App Core settings?
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
04/13/11 09:34 AM (14 years ago)
Should not be related to Core Settings. From memory... (have not looked in awhile). I think you only get one chance to 'deny' location access when install an app. You may need to remove the app, then reinstall it. This time...say 'yes' when it asks you to use location info.
 
basement
Aspiring developer
Profile
Posts: 488
Reg: Apr 07, 2011
Ontario
4,880
like
04/13/11 01:42 PM (14 years ago)
I deleted the app then reinstalled it and it works fine now - thanks! (it didn't ask me about the location info this time though, but at least it works!)
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.