I made a sample code to place a 3D sphere with ARkit. it differs from the official demo by detecting not only horizontal surfaces, but also feature points (for example, vertical walls). But so far I wasn't able to achieve the same kind of accuracy as shown by the ruler video and few other demos.<p>The ARKit api is very simple, I don't know what else I can do to improve the accuracy.