swiftui - ZStack - IOS 14 beta - Zstack 在键盘上飞
问题描述
在新的 IOS 14 beta 中,我使用 ZStack 在我的选项卡上显示徽章。当键盘出现时 - zstack fly on the keyboard,但它必须固定在底部。IOS 13 - 没有这样的东西。
ZStack {
Circle()
.foregroundColor(.red)
Text("\(self.realm.ItemsAll.count)")
.foregroundColor(.white)
.font(Font.system(size: 11))
}.frame(width: 15, height: 15)
解决方案
推荐阅读
- c++ - ifstream 短路径在 c++、macos 中不起作用
- android - 材料组件无法正常工作
- php - 在 MySQL 中按数字和字母和空白值排序
- linux - 如何获取 LLVM IR 中共享库的基地址?
- c# - 无法更改文件的 mime 类型
- php - 如何正确保护 api 密钥?
- java - `Set 是什么意思
>> typeSet = resolverUtil.getClasses();` 是什么意思? - laravel - Laravel 6:文件夹内的命名路由没有获取用户对象
- reactjs - Formik 两种形式之间的错误初始值
- c# - Windows 10 最大路径长度限制