iOS Tutorial Location & GPS

Status
Not open for further replies.

Baris Karadeniz

Active Member
Licensed User
So I Understand that, altough GPS is NOT turn on, app will show the location by using wifi. And if Gps and wifi are not tun on, still location will be seen by geolocation. Am I right?
 

Baris Karadeniz

Active Member
Licensed User
The locations service in iPhone works in one of the three ways, from cell triangulation, wifi hot spots or the GPS.

I mean cell triangulation. In other words, if user give permission and when the app is turned on, location service will run in background and foreground. There is only one way to stop location servise, that is "disable the app". Is it correct?
 

JanPRO

Well-Known Member
Licensed User
Longtime User
B4X:
    DateTime.DateFormat = "yyyy-MM-dd"
    DateTime.TimeFormat = "HH:mm:ss"
    Dim Date As String = DateTime.Date(Location1.Time) & " " & DateTime.Time(Location1.Time)
    Log("Date: " & Date)


Jan
 

melvin2345

Member
Licensed User
Longtime User
Does this work universally through the various version of iOS? I'm compiling on a local Mac, and it works fine on most devices, but on some devices, LocManager_LocationChanged never gets invoked. For example, on the 6s it does not work. It asks to allow use of location, I say allow, but nothing happens beyond that.
 

Jean Weets

Member
Licensed User
Longtime User
Does this example still work with the current library version 1.20?
The Heading works but the location does not seem to work anymore :|
 

Jean Weets

Member
Licensed User
Longtime User
Yes, and I think I know what the problem is. Only Wi-Fi devices previously worked with localization, but after the IOS update to 9.2 it is no longer working.
 

Jean Weets

Member
Licensed User
Longtime User
I've tested it on an ipad air 32gb 4g with ios 10.3.3 and it works.
On the ipad mini wifi IOS 9.3. it only works the first time i start the app.
 
Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…