轻按按钮即可将应用发送到后台 [英] Send app to background on button tap

查看:65
本文介绍了轻按按钮即可将应用发送到后台的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,有一个名为返回的按钮。当用户单击该按钮时,应将应用程序发送到后台,就像我们单击主页按钮一样。

In my apps there is a button named "Back". When the user clicks on that button, the apps should be sent to the background, like when we click on the home button.

推荐答案

即使您设法做到这一点,也违背了Apple的HIG(因为对用户而言这看起来像是当机)-如果您计划在AppStore上发布您的应用,那么您将被拒绝。

Even if you manage to do this, it is against Apple's HIG (because it will look as a crash to the user) - if you plan to publish your app on the AppStore you'll be rejected.

这篇关于轻按按钮即可将应用发送到后台的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆