Label formatting not working in xml


I am trying to give underline for the label in xml. Below is the code snippet. But it is not working. I am running it on iOS platform. I am using typescript template hence i would like to achieve in xml or typescript.

                <Span text="I forgot my password" underline="true" ></Span>

Any help would be great.


Please refer the doc here for right example with {N} Core