Please give a brief summary of your issue:
When I have a ViewController with a view. In this view I’m embeeding a PTDocumentController. Doing this increases the size of my tab bar
Hello there,
Thank you for getting in touch about this issue.
Are you able to provide some sample code showing how you are setting up your view controllers? If you can provide a minimal working sample project then we will be better able to assist you. Thank you.
Hi, thank you for getting back to us with more information.
The PTDocumentController view controller class uses its containing UINavigationController's bottom UIToolbar toolbar (.toolbar property) to show buttons, in the document controller’s .toolbarItems property, along the bottom of the document controller.
When you add the PTDocumentController as a child view controller, your MapDocumentViewController instance is the view controller on the UINavigationController's navigation stack, but because that map-document view controller itself does not have any items in its own .toolbarItems property, the UIToolbar is still shown but without any buttons.
If you only want to prevent the empty bottom toolbar from showing, you can set the document controller’s .hidesBottomBar property to false.