I have a button that i want it have the < back icon and also back text to it . This is what i did:
Text("\(Image(systemName: "chevron.left"))Back")
I am getting this error:
Instance method 'appendInterpolation' requires that 'Image' conform to '_FormatSpecifiable'
I tried fixing it as :
Text("\(Image(systemName: "chevron.left"))Back" as String)
But it does not work. How can i fix it .
Text("\(Image(systemName: "chevron.left")) Back")