iOS 返回主界面 模拟Home按钮的点击动作

一行代码就OK了:
[[UIApplication sharedApplication] performSelector:@selector(suspend)];

你可能感兴趣的:(iOS 返回主界面 模拟Home按钮的点击动作)