UIWebView can display mathML with iOS5. Your example:
<math title="2^(2/(sqrt(6))" xmlns="http://www.w3.org/1998/Math/MathML"> <mstyle mathcolor="blue" fontfamily="sanserif" displaystyle="true"> <msup> <mn>2</mn> <mrow> <mfrac> <mn>2</mn> <mrow> <msqrt> <mrow> <mn>6</mn> </mrow> </msqrt> </mrow> </mfrac> </mrow> </msup> </mstyle> </math>
This will display in the UIWebView on iOS.
There are javascript libraries that can convert for you - for example, mathjax can take ASCIIMath , for example, this example 2 ^ (2 / (sqrt (6))
Is there a good discussion here on these issues Compromise between LaTex, MathML, and XHTMLMathML in an iOS app?
source share