简体   繁体   中英

Customize “more” tab on TabBarController

As you know, if the number of tab exceeds 5, the iPhone adds a tab called "more".

My question is:

How can we do to customize this tab, change its title or even the view ? My initial View controller is a tab bar controller.

Thank you for your answers.

You can create your own class(or say category) by inheriting tab bar controller class & you can control the things as required.

  • Create a class inheriting TabBarController.
  • Add your own view inside init method.
  • Handle the selection event as your super class is TabBarController.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM