Search code examples
iospolicy

Is creating a custom TabBar against apple policies?


Here's a quick question.

Does apple have any kind of policies against creating custom behaviour for a TabBar ? For example, I'm not happy with the default behaviour for the TabBar and I would like to create one myself as a custom view that will always be on the bottom, then I will add whatever functionality I need to.

Is there anything from apple against this when publishing apps ?

PS: I searched on google and couldn't find anything, just rumours.

Thank you in advance.


Solution

  • I've worked on apps before that have used custom tab bars and there has not been an issue with the app store, there are also lots of open source tab bars produced by others as well, so they would not waste their effort on things that can't be used.

    But I would stress that people expect certain user interface elements to behave in certain ways and they are used to the standard tabbar. So using the default is probably the best way to go, it also ensures it covers multiple tabbar scenarios, so I would at least consider subclassing and calling super where appropriate.