Thanks for your response. This is the error messages that shows up where I put the comment in my initial code. Thread 2: EXC_BREAKPOINT (code=1, subcode=0x104d2bbfc)
I also tired this
RealityView { content in
Task { @MainActor in
viewModel.setupImageTracking()
}
}
But it did not work :(
Topic:
Spatial Computing
SubTopic:
ARKit
Tags: