触摸机制下跳转到网页

void HelloWorld::menuCloseCallback(Ref* pSender)
{
   // Director::getInstance()->end();
	Application::getInstance()->openURL("http://blog.csdn.net/anzhongliu?viewmode=contents");
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS)
    exit(0);
#endif
}

posted @ 2015-10-26 00:12  Anzhongliu  阅读(144)  评论(0编辑  收藏  举报