ios - UIAlertController SheetView 带有自定义图像,例如 WhatsApp IOS Swift
问题描述
我一直在努力寻找带有图像的 UIAlertController 工作表视图的解决方案。我的目标是在右侧添加一个带有左对齐标签和自定义图像的 UIAlertController SheetView,就像您在此处的屏幕截图中看到的那样。
我已经尝试过其他解决方案,但没有一个有用/回答。
解决方案
While I can't comment. Can you provide the solutions and/or frameworks you've tried?
The thread here seems quite in-depth: How to customize UIActionSheet? iOS
It references several libraries like https://github.com/xmartlabs/XLActionController
UIAlertController
is not very configurable. You'll need a library or create your own custom one.
推荐阅读
- php - 如何在 Laravel 中验证日期时间数组?
- spring-boot - SpringBoot 应用程序中没有“testgroup.private_clinic.dao.PatientDAO”类型的合格 bean
- javascript - JavaScript 模板文字插值 rgba() 值
- r - 添加一个交互式按钮来切换映射哪个变量以填充 ggplotly in r
- python - 使用变量创建 @get() 请求 - bottle.py
- javascript - 使用Vue组件渲染功能时的无限循环
- scrollview - 如何在 react-native 中获取功能组件中的 ref x、y 位置?
- swift - SwiftUI 自定义视图包装器
- javascript - JavaScript - 以对象值为目标以创建另一个变量
- awk - qsub 无法识别 awk 字段变量