I have created a simple picker of String options. I know the users pick is stored in chosenValue
@State var valuesAvail = ["hey","hello",how y'all","howdy"," aloha"]
var chosenValue = "hey
I would like to use the chosenValue as the title of my next screen.
I thought since it was stored in chosenValue I could simply @ and use it but I can not get it to work and I know I must be missing something so simple, so I'm asking for help please.