Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果您查看标题为“地址”的按钮/标签,您会注意到角落里有一点白色。只有当用户开始滚动位于搜索栏下方的 tableView 时,才会出现这种白色斑点。
我只能猜测模态边框在滚动时会杀死所有透明胶片。
这是一个关于滚动视图的 iOS 问题,在很多地方都可以看到 - 除了减少或为 tableview 创建一些偏移量之外,没有其他解决方案。
该伪影可能是由多种不同的事物引起的。当看到这些东西时,我首先要检查的是所有与该区域重叠的 UIView(以及子视图)
A. 具有 alpha 值为 0 的背景颜色
B. 在 Interface Builder 中关闭“Cear Graphics Context”(或代码中的相应标志)