Reputation: 1576
new in ios application development with uikit,can any one tell me what is alternative code of cocos2d replacScene In UiKit.used segue model but problem is i want use it programmatically like cocos2d. thanks.
Upvotes: 0
Views: 103
Reputation: 1271
you can call the segue programatically by giving it an identifier and then using the following function
[self performSegueWithIdentifier:@"<segue identifier>" sender:<the sending view controller>];
Upvotes: 1