How do I make the default value 0 with GameKit

前端 未结 0 1844
盖世英雄少女心
盖世英雄少女心 2021-01-26 02:08
let localPlayerScore = request.localPlayerScore ?? 0

The problem is that Swift is expecting the 0 to be of type GKScore.

I get the f

相关标签:
回答
  • 消灭零回复
提交回复
热议问题