Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

一些问题请求作者回答 #9

Open
excBadAccess opened this issue Nov 13, 2013 · 1 comment
Open

一些问题请求作者回答 #9

excBadAccess opened this issue Nov 13, 2013 · 1 comment

Comments

@excBadAccess
Copy link

1.是否应该在启动后直接建立常用(多个)vc和url的映射关系?

[[UMNavigator sharedNavigator] setViewControllerName:@"UMDemoViewController" forURL:@"um://demo"];

[[UMNavigator sharedNavigator] setViewControllerName:@"UMViewControllerDemo2" forURL:@"um://demo2"];

2.是否应该为UMNavigator创建一个方法,一次加载多个映射关系?
3.- (UIViewController *)viewControllerForURL:(NSURL *)url withQuery:(NSDictionary *)query的query的作用

@gaosboy
Copy link
Owner

gaosboy commented Nov 13, 2013

1,是的,必须这样做
2,可以直接操作config
3,有时候初始化vc需要传入对象


Jianjun. Gao, From iPhone
http://gaosboy.com/

On 2013年11月13日, at 下午6:06, Alex Lee [email protected] wrote:

1.是否应该在启动后直接建立常用(多个)vc和url的映射关系?

[[UMNavigator sharedNavigator] setViewControllerName:@"UMDemoViewController" forURL:@"um://demo"];

[[UMNavigator sharedNavigator] setViewControllerName:@"UMViewControllerDemo2" forURL:@"um://demo2"];
2.是否应该为UMNavigator创建一个方法,一次加载多个映射关系?
3.- (UIViewController *)viewControllerForURL:(NSURL *)url withQuery:(NSDictionary *)query的query的作用


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants