开发者

How to release game UIView and go back to the root menu

for example , 开发者_运维百科when you playing game , you are play in the game UIView

and when you exit your game and return to the game root menu,

there're a 'exit' button on the game UIView

I wanna click this button to release self view and go back to the main menu

how to do this?


Your game UIView is owned by a UIViewController ? Then just add a button to the view and hook it up to an IBAction in the UIViewController that pops or dismisses the view controller.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜