ios - Why is there functional difference between Swipe to pop view controller and poping view controller Programmatically? -
when swipe right pop view controller/click button on navigation bar viewwillappear code called ,but , when programmatically call [self.navigationcontroller popviewcontrolleranimated:yes]; , behaves differently , first viewdidload called , viewwillappear called . how can achieve behaviour in 1st case using code ?
Comments
Post a Comment