Html file inside an AlertController?

我是研究僧i 提交于 2019-12-12 03:28:11

问题


Can I display the contents of an html file inside an UIAlertController?

I have a text for a terms of service and I already have it formatted within an html file. I would like to be able to display this in an AlertView when the user enters the app, so that they would have to click Ok.


回答1:


You can use Modal Instance in which you can render the complete html page. https://angular-ui.github.io/bootstrap/



来源:https://stackoverflow.com/questions/36361640/html-file-inside-an-alertcontroller

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!