退出程序

xiaoxiao2021-02-28  101

#pragma mark - 退出程序 - (void)exitApplication { wulianAppDelegate *app = [UIApplication sharedApplication].delegate; UIWindow *window = app.window; [UIView animateWithDuration:0.5f animations:^{ window.alpha = 0; window.frame = CGRectMake(0, window.bounds.size.width, 0, 0); } completion:^(BOOL finished) { exit(0); }]; }
转载请注明原文地址: https://www.6miu.com/read-45593.html

最新回复(0)