SwiftUI iOS14 GeometryReader Invalid frame dimension

余生长醉 提交于 2020-12-13 18:56:17

问题


My GeometryReader was working fine in iOS13 but now in iOS14 i get a thread issue.

"Invalid frame dimension (negative or non-finite)."

I printed the size that the reader should give back and it looked fine.

The app is still basically working, but looks a bit weird, because there is some padding introduced.

Does anyone have any ideas how to tackle this?

来源:https://stackoverflow.com/questions/64027041/swiftui-ios14-geometryreader-invalid-frame-dimension

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!