ermalkaleci / CarbonKit

CarbonKit - iOS Components (Obj-C & Swift)
MIT License
682 stars 164 forks source link

viewWillAppear not called when i change the tabs #215

Open Ilesh opened 6 years ago

Ilesh commented 6 years ago

how can I know which view controller has appears if there any method is a call of the view controller lifecycle?

aneeq-anwar-confiz commented 5 years ago

You can use the following delegate method to know which view controller is appeared:

- (void)carbonTabSwipeNavigation:(nonnull CarbonTabSwipeNavigation *)carbonTabSwipeNavigation
                  didMoveAtIndex:(NSUInteger)index