Build an AR app that shows floating labels above real buildings when you point your phone at them.
Create a walking navigation app with AR arrows pointing toward a destination using GPS coordinates.
Place markers at specific latitude and longitude positions that appear correctly through the phone camera.
Requires an iPhone 6S or later running iOS 11+ since ARKit requires a physical device with camera and motion sensors.
ARKit-CoreLocation is a Swift library for iOS that combines two Apple technologies to place digital objects in the real world with better accuracy than GPS alone. ARKit uses your iPhone or iPad camera and motion sensors to build a precise map of your immediate surroundings as you move. CoreLocation uses WiFi and GPS signals to tell you where you are on Earth, but with relatively low accuracy. By combining them, this library can anchor digital markers to specific real-world coordinates and display them in the correct position as you look through your camera. The practical result is augmented reality that is aware of actual geographic locations. A developer could use this library to build an app that shows floating labels above buildings, arrows pointing toward a destination while navigating on foot, or markers placed at specific latitude and longitude coordinates that appear correctly positioned when you hold up your phone. The library adds two main capabilities. First, it lets you place objects in an AR scene using real-world GPS coordinates rather than just positions relative to where you were standing when the app launched. Second, it improves location accuracy beyond what CoreLocation alone provides by combining GPS readings with knowledge of how you have moved through the AR world. Installation is available through CocoaPods or Swift Package Manager, which are the standard ways to add third-party libraries to iOS projects. The library requires iOS 11 or later and runs on iPhones from the 6S upward and most iPad models from 2017 onward. The README includes a quick-start code example showing how to pin an image above Canary Wharf in London using a latitude and longitude coordinate, which gives a concrete sense of how direct the API is to use.
← andrewhartar on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.