Skip to content

ARKit sample application written in Objective C with features of Add, Remove, Scale, Move single or multiple objects with plane detection, reset session and support checking.

License

Notifications You must be signed in to change notification settings

sunkaianna/ARKit-Sample-ObjC

 
 

Repository files navigation

ARKit-Sample-ObjC

ARKit sample application written in Objective C with features of Add, Remove, Scale, Move single and multiple objects with plane detection, reset session and support checking.

Demo

Features

  • Plane detection
  • Add single and multiple objects
  • Remove single and multiple objects
  • Scale/Zoom objects
  • Move objects
  • 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 must be after detecting plane.
  • Object can be remove using Long Press gesture for 0.5 second.
  • 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.
  • Reset session can be done using top right reset button.

Requirements

  • Xcode 9.0 Beta 3
  • iOS 11 Beta 3
  • 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

License

ARKit-Sample-ObjC is released under the MIT License. See LICENSE for details.

About

ARKit sample application written in Objective C with features of Add, Remove, Scale, Move single or multiple objects with plane detection, reset session and support checking.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%