gpt4 book ai didi

html - 可以在 iOS7 UIAlertView 中显示 html 内容吗?

转载 作者:太空宇宙 更新时间:2023-11-04 13:20:09 26 4
gpt4 key购买 nike

您知道在 iOS7 上是否可以在 UIAlertview 组件中显示一些 html 内容(通过 UIWebView 或直接)吗? “addSubview”方法似乎不再可用......感谢您的帮助!

最佳答案

不幸的是,不再有带有自定义 View 的 UIAlertView,也没有 Apple 改变主意的 contentView,您需要使用像 HUD 这样的自定义控件。

一个好的选择是 SVProgressHUD ,根据 Apple 论坛中的许多主题。

关于html - 可以在 iOS7 UIAlertView 中显示 html 内容吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18787157/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com