有個需求:設置程序不能後臺運行——即每次後臺以後,回來都是從新登陸。實現方法以下:web
1:在程序配置文件(info.plist)中添加一個行, 右鍵——Add row app
2: 添加修改key值爲:svg
Application does not run in background
3:設置Value爲YESspa