如果我不这样做,苹果会拒绝我的应用程序吗? [英] Will Apple reject my app if I do not do this?

查看:37
本文介绍了如果我不这样做,苹果会拒绝我的应用程序吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

从UITableView/UITableViewController的文档中:

From the documentation of UITableView / UITableViewController:

如果您决定使用UIViewController子类而不是UITableViewController的子类来管理表格视图,您应该执行几个任务上面提到的符合人机界面指南.

If you decide to use a UIViewController subclass rather than a subclass of UITableViewController to manage a table view, you should perform a couple of the tasks mentioned above to conform to the human-interface guidelines.

要清除表格视图之前的任何选择显示出来,实施viewWillAppear:清除方法通过调用选择的行(如果有)deselectRowAtIndexPath:animated:.表格视图之后显示时,您应该刷新滚动条通过发送一个flashScrollIndicators消息发送到表格视图;你可以在一个覆盖viewDidAppear:方法UIViewController.

To clear any selection in the table view before it’s displayed, implement the viewWillAppear: method to clear the selected row (if any) by calling deselectRowAtIndexPath:animated:. After the table view has been displayed, you should flash the scroll view’s scroll indicators by sending a flashScrollIndicators message to the table view; you can do this in an override of the viewDidAppear: method of UIViewController.

因此,可以说我在这里做我的自定义内容,并且不闪烁滚动指示器,并且不重置选择(无论如何,我认为这是错误的,用户想知道他来自哪里).他们会拒绝吗?

So lets say I do my custom stuff here and I do not flash the scroll indicator, and I do not reset the selection (which I think is wrong anyways, the user wants to know from where he came from). Will they reject it?

推荐答案

Apple 可能拒绝它.在实践中,他们不会这样做(这是实践经验,而不是内部知识).他们将拒绝使用私有API的应用程序,尽管过去它们不会.但是,如果您的应用很烂,滚动指示器不闪烁可能是他们拒绝应用的原因.如果不取消选择某个单元对于您的UX很重要,那么您应该没问题-否则您的UX可能很差.

Apple may reject it. In practice, they won't (this is practical experience, not inside knowledge). They will reject apps now for using their private api, although in the past they wouldn't. But if your app sucks, not flashing scroll indicators might be a reason they give for rejecting it. If not deselecting a cell is important to your UX, then you should be ok - or it's possible that you have a poor UX.

取消选择单元格应该具有动画效果-这样用户就可以暗示他们从哪里回来,无论如何他们应该都可以记住.但是保留选择可能会使用户认为选择具有某种意义,并且会影响他们的后续操作,但根据您的描述,这不会.因此,失去选择.

Deselecting the cell should be animated - so the user gets the hint of where they came back from, which they should be able to remember anyway. But retaining the selection could lead the user to think that the selection is somehow significant and will affect their subsequent actions, which from your description it won't. So lose the selection.

这篇关于如果我不这样做,苹果会拒绝我的应用程序吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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