The NBARPhotosView
can be used to display any photos with location metadata (latitude, longitude, and heading) in an AR space.
Clone the NBARPhotos and NBARRuscha projects to see sample implementations.
This framework requires Xcode 14.2 or later. The following device requirements apply:
- ARKit
- arm64
- GPS
- A12 Bionic and Later Chips
- Location Services
- iOS 14.0 or later
This framework requests location and camera access. Your app Info.plist
must include the NSLocationWhenInUseUsageDescription
and NSCameraUsageDescription
keys.
The location data required to place photos is limited to specific areas supported by Apple. Reference the ARGeoTrackingConfiguration documentation before implemeting the NBARPhotosView
in your location.
- Launching the app, loading photos in AR, backgrounding the app for a long period of time, and activating the app back to the foreground can cause the previously loaded photos to disappear. Reloading the
NBARPhotosViewDataModel.anchors
property should place them back in AR space correctly.
- Built from Xcode 14.2.
- Initial Release