SKView warning logs

a 夏天 提交于 2020-02-02 02:33:27

问题


When running my SwiftUI & SpriteKit app, I get the following messages in the logs:

2019-11-18 21:58:57.631912+0000 PixelBattles[2812:1215803]

SKView: ignoreRenderSyncInLayoutSubviews is NO. Call _renderSynchronouslyForTime without handler

What am I doing wrong to receive this log, and should I worry about it? Could it be a bug?

Could it be that SwiftUI cannot figure out how to do the layout for an SKView?

Major edit:

If you need code, you can see it in the previous edits. Below I state why I don't think it is any longer relevant.

I have sent Apple some feedback (FB7456217). I have removed the code, as I no longer suspect it is an issue to do with my code. I created a blank game project, no SwiftUI, and still got the same warning log instantly.

So even with the default project template, the log still appeared for device and simulator. I will update on this issue if I get a useful response.


I still haven't heard anything back - has anyone got any new information since when I posted this over half a month ago? I still have these warnings!

来源:https://stackoverflow.com/questions/58923683/skview-warning-logs

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