DianQK/TransitionTreasury

how can use the "tr_popToViewController"

Opened this issue · 2 comments

let vc = self.navigationController?.viewControllers[3] self.navigationController?.tr_popToViewController(vc)

then make a mistake "generic parameter 'T' could not be inferred"

Hi~ @thousandsNight

Your viewController should conform NavgationTransitionable

maybe you can show your code?

maybe you need to cast self.navigationController?.viewControllers (UIViewController) to BaseViewController or CompleteLoginInfoVC.