Got it. The problem I am running into now is that when I make a @State variable in the view, when I press a button it is supposed to run the NFC program with ()activate and then update the variable tagCode to be equal to reader.tagUID, but it assigns the value before the reader gives tagUID a new UID. is there a way to update the variable only after the NFC program is done running?
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags: