LoginController *login = [[LoginController alloc] init];
EAGLView *view = [[CCDirector sharedDirector] openGLView];
[view addSubview:login.view];
去除statusbar方法
1. [[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];
2.info.plist 中,添加status bar is initially hidden 并打勾。