![]() | 1 keakon 2011-07-09 16:40:11 +08:00 双击home键,然后按住一个图标直到抖动,再关掉你的应用就行了吧。 |
![]() | 2 obiwong OP @keakon 我试过了,但我注册的 UIApplicationWillTerminateNotification 事件并没有被触发。 我在 viewDidLoad 方法里注册了该事件,代码如下: http://gist.github.com/1073471 |
![]() | 3 keakon 2011-07-09 23:39:50 +08:00 Add a line to the app's info.plist. Select 'Application does not run in background' and check the box. http://goo.gl/xTcMe |