问题
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