Is there anyway that I can have tabs on an iPhone hide if there is not enough room to display them. The best example I can think of is on Android Music Player the tabs for “Artist”, “Albums”, “Songs” are displayed but “Recent”, “Playlists”, “Genres” are hidden to the left or right of these tabs.

There’s no easy way to do that, no. In fact, I doubt the Apple HIG would even allow it.
Should you, however, decide to proceed anyway, you’ll want to set the
hiddenproperty of the UITabBar toYES. This will only hide it – you may also have to resize the views.This entire process definitely isn’t trivial nor should it be, since it’s something that simply shouldn’t be done – users may appreciate the extra space but will immediately get lost.