Thursday, April 30, 2026
HomeiOS Developmentios - AR Picture Monitoring - Change Folder of Reference Photographs

ios – AR Picture Monitoring – Change Folder of Reference Photographs

[ad_1]

I attempt to Code solely with my iPad and the brand new Swift Playgrounds replace. I attempted to do AR Picture Monitoring with SwiftUI (https://github.com/riccqi/ARImageTracking or https://github.com/john-rocky/RealityKit-Sampler). Its attainable to create an Folder within the iPad App, however you’ll be able to’t put an Picture in right here… So so following Code does not work:

   func makeUIView(context: Context) -> ARView {
        guard let referenceImages = ARReferenceImage.referenceImages(
                    inGroupNamed: "AR Assets", bundle: nil) else {
                    fatalError("Lacking anticipated asset catalog assets.")
                }

Right here an Picture from the Swift Playgrounds App

Is it attainable to make use of reference photographs from the basis / foremost such as you do with the usdz Fashions?

if let usdzModel = strive? Entity.load(named: "drummer") {
            anchor.addChild(usdzModel)
        }

Thanks
Andreas

[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments