Skip to content

authorizationBeforeAction用法的疑惑 #3

Description

@Mr-yuwei

比如跳转到A场景之前需要满足某种条件,不满足条件就到跳转到B场景。
如果应用中出现多种上述场景,TPMediatorDelegate对应的实现是否会导致耦合,我想的是如登录场景,打开扫码前要判断授权权限的场景。还有就是URL是网页该如何打开一个网页。

- (BOOL)mediator:(TPMediator *)mediator routerAction:(TPMediatorRouterActionModel *)routerAction checkAuthRetryPerformActionHandler:(void (^)(void))retryHandler

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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