I am having app in which I have used MMDrawer. I have made custom tabar with UIVIew and UIButtons. All UIButtons have UILabel at under it for showing which viewcontroller you are.
When i click on UIButton of custom tabbar the UILabel will not move with animation.
Here is my code
UIStoryboard *storyBoard = [UIStoryboard storyboardWithName:@"Main" bundle:nil];
SettingViewController *Help = [storyBoard instantiateViewControllerWithIdentifier:@"SettingViewController"];
UINavigationController *detailNav = [[UINavigationController alloc]initWithRootViewController:Help];
AppDELEGATE.drawer.centerViewController = detailNav;
[UIView animateWithDuration:0.5 animations:^{
CGRect frame = self.lblSplit.frame;
frame.origin.x = sender.frame.origin.x - 10;
self.lblSplit.frame = frame;
}];
lblSplit is the UILabel which i want to move when UIButton Click.