如何使用c ++关闭cocos2d-x ios游戏中的通知中心 [英] How to off the notification center in cocos2d-x ios game using c++

查看:80
本文介绍了如何使用c ++关闭cocos2d-x ios游戏中的通知中心的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有办法在ios游戏中使用cocos2d-x.Suppose关闭通知中心。如果在我的游戏中有必须从顶部拖动的对象,则此通知中心会中断。当游戏运行时,请有人告诉我关闭通知中心。

Is there a way to off the notification center in ios game using cocos2d-x.Suppose if in my game there are objects which have to be dragged from the top this notification center interrupts in between. Please anyone here tell me to off the notification center when the game runs.

推荐答案

这里是我搜索的答案因为它也让我感兴趣:



http://stackoverflow.com/questions/18897983/setting-uiapplication-statusbarhidden-to-yes-does-not-work-in-ios-7 [ ^ ]
here is the answer which i googled coz it interested me too:

http://stackoverflow.com/questions/18897983/setting-uiapplication-statusbarhidden-to-yes-does-not-work-in-ios-7[^]


我得到了。我们无法隐藏IOS中的通知栏但我们只能隐藏状态栏。但是如果我们在android上运行游戏,通知栏就不会中断
Well I got that.We can't hide the notification bar in IOS but we can only hide status bar.But if we run the game on android the notification bar will not interrupt


这篇关于如何使用c ++关闭cocos2d-x ios游戏中的通知中心的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆