Skip to content

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

@excBadAccess

Description

@excBadAccess

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的作用

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions