Awesome
ARKit-Sample-ObjC
ARKit sample application is written in Objective C with features of Add, Remove, Scale, Move, Snapshot for single and multiple objects with plane/surface detection, reset session and AR support checking.
Features
- Plane/Surface detection
- Add single and multiple objects
- Remove single and multiple objects
- Scale/Zoom objects
- Move objects
- Take snapshot
- Reset session
- World tracking support checking
User Control
- Plane can be detect with enough light and bare minimum time to hold on a surface.
- Object can be add using Tap gesture. Object will be added on the position where using tap but must be after detecting plane.
- Object can be remove using tapping an object on scene if any and use remove button.
- Object can be scale/zoom using Pinch gesture.
- Object can be move using Pan gesture. Though this feature is not perfect yet.
- Object can be change using the bottom plus and selecting specific object.
- Take snapshot of the scene view using capture button.
- Reset session can be done using top right reset button.
Requirements
- Xcode 9.0
- iOS 11
- Device with A9 or better chip for ARWorldTrackingSessionConfiguration
Note: The app automatically detects if your device supports the ARWorldTrackingSessionConfiguration. If not, it will use the less immersive ARSessionConfiguration, which is to be supported by all devices. However, at the current time (Beta 3), ARSessionConfiguration is also only supported by devices with an A9 or better chip. This means you need an iPhone 6S or better to use ARKit at the current time.
Communication
- If you found a bug, open an issue.
- If you have a feature request, open an issue.
- If you want to contribute, submit a pull request.
Download
Simply navigate to your directory of interest, then clone.
$ git clone https://github.com/rajubd49/ARKit-Sample-ObjC.git
Finally, open the *.xcodeproj
file and build to your supported device
Thanks
Special thanks to
Author
License
ARKit-Sample-ObjC is released under the MIT License. See LICENSE for details.