Discussion Forums  >  Maps, Device Location, Tracking

Replies: 2    Views: 256

Hmmm
buzztouch Evangelist
Profile
Posts: 67
Reg: Sep 17, 2013
location unknow...
6,670
09/29/14 11:33 AM (9 years ago)

xcode 6 Device Lat and Lon Merge Fields Fix

iOS is not picking up the device location when compiled in xcode 6. We fixed this in the BT_screen_customURL plugin, and placed the below code into BT_locationManager.m in both init, line 47, and startLocationUpdates, line 67, without success. These seem to be the logical places to add this, and if not, where would be the optimum place be for the fix? Thanks. if ([locationManager respondsToSelector:@selector(requestAlwaysAuthorization)]) [locationManager requestAlwaysAuthorization];
 
SmugWimp
Smugger than thou...
Profile
Posts: 6316
Reg: Nov 07, 2012
Tamuning, GU
81,410
like
09/29/14 07:18 PM (9 years ago)
It's possible that your issue is tied to a fix outlined by Chris1 in this post: https://www.buzztouch.com/forum/thread.php?tid=DA308929DBC29D1DB83B7A8 look for his mention of 'issue #2'. Cheers! -- Smug
 
Hmmm
buzztouch Evangelist
Profile
Posts: 67
Reg: Sep 17, 2013
location unknow...
6,670
like
09/30/14 04:32 PM (9 years ago)
Smug: We fixed it using Chris1's post as a guide and added the code into the BT_screen_customURL plugin. The next question is where to place the code so the merge fields will pick up the device location. Per your recommendation, we have also posted the question at the above link. Thanks.
 

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.