gpt4 book ai didi

ios - 如何使用图像创建 UIAlertView

转载 作者:可可西里 更新时间:2023-11-01 00:23:40 25 4
gpt4 key购买 nike

大家好,我有一个问题,是否可以在 Swift 中创建带图像的 UIAlertView,如何实现?如果有人可以帮助我,因为我在 iOS 6 中的 objective-c 中没有在网络上快速练习中找到一些示例,而不是在 iOS 7 或更高版本中。谢谢。

最佳答案

在 iOS8 UIAlertView 被弃用后,Apple 建议您使用 UIAlertController 而不是 UIAlertView。要完成您的要求,您可以查看 here

关于ios - 如何使用图像创建 UIAlertView,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32397578/

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