iOS is exit(0) 拒绝 [英] iOS is exit(0) Reject

查看:76
本文介绍了iOS is exit(0) 拒绝的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的申请由于以下原因被拒绝,因为这是我的第一个应用程序.我应该做哪些更改才能继续.请提供一些解决方案?

My application is being rejected for the following Reason, Since its my first App. What Change should i made to proceed.Please provide me some solution?

10.1:应用必须遵守 Apple iPhone 人机界面指南和 Apple iPad 人机界面指南中解释的所有条款和条件

10.1: Apps must comply with all terms and conditions explained in the Apple iPhone Human Interface Guidelines and the Apple iPad Human Interface Guidelines

我们发现您的应用包含用于退出应用的 UI 控件.这不符合 App Store 审核指南要求的 iOS 人机界面指南.

We found that your app includes a UI control for quitting the app. This is not in compliance with the iOS Human Interface Guidelines, as required by the App Store Review Guidelines.

随时准备停止

当人们按下主页按钮打开其他应用程序或使用设备功能(例如手机)时,iOS 应用程序停止.特别是,人们不会点击应用程序关闭按钮或从菜单中选择退出.为了提供良好的停止体验,iOS 应用应该:

iOS applications stop when people press the Home button to open a different application or use a device feature, such as the phone. In particular, people don’t tap an application close button or select Quit from a menu. To provide a good stopping experience, an iOS application should:

  • 尽快并尽可能合理地保存用户数据,因为退出或终止通知随时可能到达.

  • Save user data as soon as possible and as often as reasonable because an exit or terminate notification can arrive at any time.

在停止时保存当前状态,尽可能详细地保存,以便人们在再次启动应用程序时不会丢失上下文.例如,如果您的应用显示滚动数据,请保存当前滚动位置."

Save the current state when stopping, at the finest level of detail possible so that people don’t lose their context when they start the application again. For example, if your app displays scrolling data, save the current scroll position."

删除任何退出应用的机制是合适的.

It would be appropriate to remove any mechanisms for quitting your app.

推荐答案

不要提供退出应用程序的按钮或选项.

如果你这样做,苹果会拒绝你的申请.

If you do so apple will reject your application.

此外,如果您在某个时刻从应用程序中调用 exit(0),Apple 会将其视为崩溃.

Also if you call exit(0) from your application at certain point, apple will take it as a crash.

所以千万不要这样做,你的应用会被拒绝.

So never do it, your app will be rejected.

这篇关于iOS is exit(0) 拒绝的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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