摘要: 之前一直没有遇到过需要直接在程序中退出应用程序的情况,今天有这个需求,我在网上查了一下,代码如下// 退出当前程序- (void)exitApplication { [UIView beginAnimations:@"exitApplication" context:nil]; [UIView setAnimationDuration:0.5]; [UIView setAnimationDelegate:self]; // [UIView setAnimationTransition:UIViewAnimationCurveEaseOut... 阅读全文
posted @ 2014-03-26 17:11 无涯之径 阅读(642) 评论(0) 推荐(0) 编辑