我需要显示带有按钮或图像的警报。我试过更改警报高度并添加按钮,但我无法使其在 Swift 中工作。
此外,我认为 App Store 可能会因为这种“黑客行为”而拒绝我的应用程序。
我进行了很多研究,但找不到有助于解决此问题的库或 pod。
有什么想法吗?
最佳答案
这里有一些您可以实现的自定义警报 View
- > https://github.com/wimagguc/ios-custom-alertview
- > https://github.com/dogo/SCLAlertView
- > https://github.com/Friend-LGA/LGAlertView
swift
关于ios - 带有按钮或图像的警报 Controller ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31750367/