ios - calling viewdidload when using popViewController SWIFT -
i have navigation view controller , using popviewcontrolleranimated(true) show view controller shown before. works need call viewdidload of before shown view controller reload table view. viewdidload not called when using popviewcontrolleranimated(true). should call then.
you can use viewdidappear or viewwillappear methods in view lifecycle reload data in tableview.
Comments
Post a Comment