【发布时间】:2013-02-06 06:03:06
【问题描述】:
当我点击主页按钮时,如何让我的应用暂停几秒钟以调用 applicationDidEnterBackground 内的消息?例如:
- (void)applicationDidEnterBackground:(UIApplication *)application
{
[self.delegate aMessage];
// Pause for a couple of seconds to give aMessage time to finish
// Continue execution after 2 seconds
}
【问题讨论】:
标签: ios terminate home-button