'UITabBarController safe area insets not working with iPad

I made a simple UITabBarController and have been using it on the iPhone with no problems. The tab bar has extra space at the bottom. I opened it up on the iPad and it seems like the tab bar is not respecting the safe area insets.

How do I most effectively and efficiently make this work?

Here's the iPhone tab bar that looks good: iPhone Tab Bar Here's the iPad tab bar that doesn't look good: [iPad Tab Bar1



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source