开发者

Will Apple approve adding 'Refresh'-button to tab bar?

开发者 https://www.devze.com 2023-03-06 23:08 出处:网络
Does anyone know if Apple approve apps with a button in a tab bar that just refreshes开发者_StackOverflow社区 the current view and not change the actual view?I don\'t think so. The Tab Bar is a very w

Does anyone know if Apple approve apps with a button in a tab bar that just refreshes开发者_StackOverflow社区 the current view and not change the actual view?


I don't think so. The Tab Bar is a very well understood metaphor - like tabs in a folio. Using a tab as a button is definitely not expected behavior.

I'd recommend a UINavigationBar with a button to refresh.

EDIT:

This is a direct quote from Apple's HIG:

Don’t use a tab bar to give users controls that act on elements in the current mode or screen.

If you need to provide controls for your users, use a toolbar instead.


Unfortunately nobody here will be able to give you a definite answer on this. You might even have different results when submitting the app depending on who does the review, or it may change from one version to another when updating.

It clearly violates Apple's HIG, and I'm not sure I have seen many apps use a similar approach.

One thing I know for sure: I much prefer developers stick to the HIG and not do these type of "customizations". In fact, this annoyance might make me chose a competing product instead.


Yes, Apple will approve it. There is no problem with this.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号