© Wallace Wang 2018
Wallace WangBeginning ARKit for iPhone and iPadhttps://doi.org/10.1007/978-1-4842-4102-8_17

17. Persistence

Wallace Wang1 
San Diego, CA, USA

Up until now, every augmented reality view project we’ve created has had one problem. While you might be able to add virtual objects to an augmented reality view, the moment you close the app and start it again, any virtual objects you added would now be gone.

In many cases, this is exactly what you want, so starting the app again creates a blank augmented reality view for the user. However, sometimes you may want to retain any virtual objects placed in the view. To save an augmented reality view so it appears in another person’s app or in your own app if you start it up again at a later ...

Get Beginning ARKit for iPhone and iPad: Augmented Reality App Development for iOS now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.