Permalink
Browse files

Clip views to bounds

  • Loading branch information...
1 parent 113d5a6 commit 94db0f3597529adcc9cc8d4a9eab7f1858c7192d @myell0w myell0w committed Apr 25, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 NGTabBarController/NGTabBarController.m
@@ -248,6 +248,7 @@ - (void)setViewControllers:(NSArray *)viewControllers {
viewController.view.frame = childViewControllerFrame;
viewController.view.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight;
+ viewController.view.clipsToBounds = YES;
}
if (self.selectedIndex == NSNotFound && _viewControllers.count > 0) {

0 comments on commit 94db0f3

Please sign in to comment.