如何在sprite工具包中呈现模态视图?

iDe*_*tin 5 xcode presentmodalviewcontroller ios ios7 sprite-kit

如何使用Sprite Kit Xcode模板使用Game Center或GameKit Framework?在Sprite工具包中,它使用场景; 但通常要查看排行榜,例如你需要"presentModalViewController",但这在SKView中是不可能的.

提前致谢!

Dav*_*ong 1

PresentModalViewController 必须在 SKView 所在的视图控制器上调用。