在我的应用程序中,我需要避免保存状态,事实上,我希望每次用户启动应用程序时,应用程序都会像第一次一样重新启动...... 我能怎么做?
Set UIApplicationExitsOnSuspend to YES(布尔值)在您的 Info.plist 中。
UIApplicationExitsOnSuspend
YES