I am creating a view with tab bars and I want some space below the tab bar to show some other content, at the bottom of the screen.
Using Tab bar controller: When I use tab bar controller, the tab bar cannot be moved to place another object below it.
Using Tab bar and tab bar items: When I use just tab bar and tab bar items, I am unable to connect the items to another view controller or rather anything. Also it doesn’t seem very efficient when my app has multiple tabs.
What is the best and efficient way to achieve some space at the bottom of the screen with tab bar controller?
Below is an image showing “some space” at the bottom of the screen below the tab bar.
Thanks
Embed the tab bar controller in a custom parent view controller. Now the frame of the tab bar controller's view, relative to the custom parent view controller's view, is up to you.
This example was configured entirely in the storyboard, with no code at all: