TQ

Results 2 issues of TQ

//adjust the height of contentView ;prevent a event that reset the selectedIndex when the tabBarHidden is yes

the error happen when the _tabBarHidden is hidden ,you reset the selectIndex But only we think of the _tabBarHidden should hidden when the selectedViewController 's viewControllers just have one controllerView