MathJax: Hiding Mathjax loading process

2020-06-01 02:37发布

问题:

I have Mathjax in my code that I show in UIWebView. while Mathjax is loading it shows the loading process n the left down corner of my UIWebView same as below pics, that i want to hide them. I do not want my user see them.

note: dummy solution is showing a fake "Loading" for some second that loading process finish and then show UIWebView. I really do not want to use this way.

回答1:

In your MathJax configuration, you can add this:

messageStyle: "none"

According to the documentation, this should do the trick: http://docs.mathjax.org/en/latest/options/hub.html



回答2:

Try this, it is working for me:

MathJax.Hub.Config({messageStyle: 'none',tex2jax: {preview: 'none'}});


回答3:

Also add showProcessingMessages: false.