Arkit is a new framework developed by Apple to create 2D and 3D augmented reality (AR) apps for iOS. AR apps take real-world information using various sensors and place virtual objects in tandem with the real-world environment's position and lighting conditions. When viewed from the screen of the device, the virtual objects are anchored in the real world, and even if you move the device the virtual objects will scale and light up as if they are part of the real world.
In this chapter, we will see how to create a small ARKit app using SpriteKit.
The following topics are covered in the chapter:
Requirements for the project
Creating an AR SpriteKit project
Adding text and crosshair
Adding anchors at random location
Adding custom sprites
Registering Touch Controls to remove game objects