Skip to content
This repository has been archived by the owner on Jul 2, 2023. It is now read-only.

how can use the "tr_popToViewController" #28

Open
thousandsNight opened this issue Sep 7, 2016 · 2 comments
Open

how can use the "tr_popToViewController" #28

thousandsNight opened this issue Sep 7, 2016 · 2 comments

Comments

@thousandsNight
Copy link

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

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

@DianQK
Copy link
Owner

DianQK commented Sep 7, 2016

Hi~ @thousandsNight

Your viewController should conform NavgationTransitionable

@DianQK
Copy link
Owner

DianQK commented Sep 8, 2016

maybe you can show your code?

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants