iOS開發 --- App強制退出

最近項目中用到強制退出App,作個筆記。express   關鍵代碼 app /** 退出App */ -(void)exitApplication { AppDelegate *app = (AppDelegate*)[UIApplication sharedApplication].delegate; //此處若是不強轉 AppDelegate,會報警告:Initial
相關文章
相關標籤/搜索