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 :(
Post
Replies
Boosts
Views
Activity
Running the function with @MainActor also did not fix the issue