A refresh control is manually initiated to immediately reload content, typically in a table view, without waiting for the next automatic content update to occur. A refresh control is a specialized type of activity indicator, is hidden by default, and becomes visible when dragging down on the view to be reloaded. In Mail, for example, you can drag the list of Inbox messages down to check for new messages.
刷新控件:手动触发来立刻加载内容,通常是桌面视图,无需等待下一次自动内容更新。刷新控件是活动指示器的一种特殊形式,默认隐藏,下拉视图来加载时变可见。比如,把邮箱里的信息下拉得到新的信息。
![d0fa432ce781d039612ef3cb4b817c12.png](https://i-blog.csdnimg.cn/blog_migrate/fcbf72f48fdbd9428d36c26bb80e491b.png)
Perform automatic content updates. Although people appreciate being able to trigger(触发) an immediate content refresh, they also expect automatic refreshes to occur periodically(定期的). Don’t make users responsible for initiating every update. Keep data fresh by updating it regularly.
内容自动更新。尽管用户希望触发立刻的内容刷新,他们也期待能定期自动刷新。用户不承担每次刷新的责任。保证数据定期刷新。
Supply a short title only if it adds value. Optionally, a refresh control can include a title. In most cases, this is unnecessary, as the animation of the control indicates that content is loading. If you do include a title, don’t use it to explain how to perform a refresh. Instead, provide information of value about the content being refreshed. A refresh control in Podcasts, for example, uses a title to tell people when the last podcast update occurred.
若有用就提供一个短标题。刷新控件可包括标题。大对数情况下,没有必要,因为控件的动画说明了内容正在加载,不要用控件解释如何操作刷新。例如,播客的一个刷新控件,当最新的播客更新时用一个标题让用户知道。
For developer guidance, see UIRefreshControl.