iOS退出程序的代码

来源:互联网 发布:applem2引擎完整源码 编辑:程序博客网 时间:2024/05/17 00:11
//        AppDelegate *app = [UIApplication sharedApplication].delegate;
//        UIWindow *window = app.window;
        
//        [UIView animateWithDuration:1.0f animations:^{
//            window.alpha = 0;
//            window.frame = CGRectMake(0, window.bounds.size.width, 0, 0);
//        } completion:^(BOOL finished) {
//            exit(0);

//        }];




0 0
原创粉丝点击