BFPaperTabBarController icon indicating copy to clipboard operation
BFPaperTabBarController copied to clipboard

Fix crash at manual init

Open apozdeyev opened this issue 5 years ago • 0 comments

In our project, we faced with a crash similar to https://github.com/bfeher/BFPaperTabBarController/issues/3. It was because tabRects array was set by empty array at tabbar vc initialization and later it will not be recreated when new view controllers are set. So it needs just set it to nil when new view controllers are set and it will be recreated at next accessing.

apozdeyev avatar Jul 30 '19 14:07 apozdeyev