I created a custom tab bar controller. It is very similar to the UITabBarController , but with a more advanced layout for the UITabBar .
How do I customize bottom content inserts for the views displayed in my custom tab bar controller? For example, if I display a UITableView in my custom tab bar controller, I can manually configure content inserts like this.
self.tableView.contentInset = UIEdgeInsetsMake(0, 0, 49, 0); self.tableView.scrollIndicatorInsets = UIEdgeInsetsMake(0, 0, 49, 0);
However, the problem becomes more complex if I click another view on this table view, similar to the collection view. Is there a way to get these views to automatically configure their content inserts, as they do in the default implementation of UITabBarController ?
ios objective-c uiscrollview uitabbarcontroller
Berry blue
source share