Is there any way to find the distance between two iPhones without using GPS in iOS??
i am working on finding out the exact distance between two iPhones which are few feet away.
Any suggestion, tutorial/links would be appreciated.
Looking forward for reply…
Is there any way to find the distance between two iPhones without using GPS
Share
You could create some sort of sonar type thing. Use bluetooth between the devices to “arrange” a date stamp and emit a sound from one of the devices at the exact time stamp.
On the second device listen for the sound and mark the timestamp that it comes in at.
Then you can work out how long it took to get from one to the other.
I don’t know how accurate that would be though.
Or possibly easier would be to emit a sound from one device then when the second device picks it up it re-emits another sound.
Then the first device listens out for the reply and can find the distance between them in time.