if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) { // indicates game is running on iPad }
else { // indicates game is running on iPhone }
posted on 2013-01-02 20:30 紫澜 阅读(228) 评论(0) 编辑 收藏 举报