@Mokin, can you please provide a code snippet with your solution. I am having the same issue and cannot figure it out.
Post
Replies
Boosts
Views
Activity
That make sense, but I am unsure how to do that using my current code. I am unfamiliar with ARKit and ARSession.
// create ARView
let arView = ARView(frame: .zero,
							 cameraMode: .ar,
							 automaticallyConfigureSession: true)
// create anchor using an image and add it to the ARView
let target = AnchorEntity(.image(group: "AR Resources", name: "some_image"))
// add anchor to AR world
arView.scene.anchors.append(target)
// add objects to anchor to display in ARView
// Custom function that adds a plane and text to anchor
addARObjs(anchor: target, title: title)
// return the view with objects anchored the image
return arView
If I use ARKit will I be able to simultaneously load AR objects/images and read QR codes? I am hoping to do both within the same session/camera view.