所以我下面这个教程显示banner ad
http://insaneplatypusgames.com/2016/03/29/adding-admob-banners-to-spritekit-games/链接视图控制器和场景来展示广告(SpriteKit)
而且它提供的代码是非常简单的。我正在寻找在我的应用程序开始处的主菜单上添加广告。
我到了最后一步,
// Linking view controller and scene to show ads
scene.ViewController = self
,我得到一个错误:
Value of type MainMenuScene has no member 'ViewController' - Did you mean inutViewController? And I didn't mean inputViewController.
你可能需要更多的信息,但我不知道什么,所以就像我可以包括它。
或者,如果有人知道另一个教程,他们可以直接我,这将是真棒,以及 – Trlewi