"More button" in tabs

According to ios tabs guideline:

  • Displays no more than five tabs at one time in a horizontally compact environment (if there are more tabs, the tab bar displays four of them and adds the More tab, which reveals the additional tabs in a list)

Something like this:
https://developer.apple.com/library/ios/documentation/UserExperience/Conceptual/MobileHIG/Art/music_tab_bar_iphone_2x.png

How can I do that?

There are few ways how you can achieve this. Once we click on the More tab you can show a modal window where we will get the other options. Or else you can even use a popup window which shows the list of the more options. Is this what you are expecting or something else than this?