- (void)viewWillDisappear:(BOOL)animated
{
[super viewWillDisappear:animated];
NSLog(@"--%f", kScreenHeight);
// 返回後還要恢復 self.tabBarController.tabBar.frame = CGRectMake(0, kScreenHeight - 49, kScreenWidth, 49);
}
- (void)viewWillAppear:(BOOL)animated
{
[super viewWillAppear:animated];
// 寫這個就可以解決
self.tabBarController.tabBar.frame = CGRectZero;
}