Skip to content

工程中有很多个VC的话,是否都需要在didFinishLaunchingWithOptions中注册呢? #26

@MrTung

Description

@MrTung

[[Routable sharedRouter] map:@"user" toController:[UserController class]];
[[Routable sharedRouter] map:@"modal" toController:[ModalController class] withOptions:[[UPRouterOptions modal] withPresentationStyle:UIModalPresentationFormSheet]];

如上代码,demo中是有2个vc,都注册了。如果有N个的话,那就要注册N次么?期待你的答疑。

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