Cocos2d iphone UiKit中的cocos2d替代方案?

Cocos2d iphone UiKit中的cocos2d替代方案?,cocos2d-iphone,uikit,Cocos2d Iphone,Uikit,uikit是ios应用程序开发的新工具,有人能告诉我uikit.used segue模型中CoCoCoS2D replacScene的替代代码是什么吗?但问题是我想像cocos2d一样以编程方式使用它。 谢谢。您可以通过给segue一个标识符,然后使用以下函数,以编程方式调用segue [self performSegueWithIdentifier:@"<segue identifier>" sender:<the sending view controller>];

uikit是ios应用程序开发的新工具,有人能告诉我uikit.used segue模型中CoCoCoS2D replacScene的替代代码是什么吗?但问题是我想像cocos2d一样以编程方式使用它。
谢谢。

您可以通过给segue一个标识符,然后使用以下函数,以编程方式调用segue

[self performSegueWithIdentifier:@"<segue identifier>" sender:<the sending view controller>];
[self-PerformsgueWithIdentifier:@”“发件人:];