Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions BFPaperTabBarController.podspec
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
Pod::Spec.new do |s|
s.name = "BFPaperTabBarController"
s.version = "2.2.9"
s.version = "2.2.10"
s.summary = "iOS UITabBar inspired by Google's Paper Material Design."
s.homepage = "https://github.com/bfeher/BFPaperTabBar"
s.license = { :type => 'MIT', :file => 'LICENSE.md' }
s.author = { "Bence Feher" => "ben.feher@gmail.com" }
s.source = { :git => "https://github.com/bfeher/BFPaperTabBarController.git", :tag => "2.2.9" }
s.source = { :git => "https://github.com/bfeher/BFPaperTabBarController.git", :tag => s.version.to_s }
s.platform = :ios, '7.0'
s.source_files = 'Classes/*.{h,m}'
s.requires_arc = true
Expand Down
6 changes: 6 additions & 0 deletions Classes/BFPaperTabBarController.m
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,12 @@ - (void)viewDidLayoutSubviews
}
}

- (void)setViewControllers:(NSArray<__kindof UIViewController *> * __nullable)viewControllers animated:(BOOL)animated {
[super setViewControllers:viewControllers animated:animated];

self.tabRects = nil;
}


#pragma mark - Setup
- (void)setupBFPaperTabBarController
Expand Down