Yee
Yee
比如跳转到A场景之前需要满足某种条件,不满足条件就到跳转到B场景。 如果应用中出现多种上述场景,TPMediatorDelegate对应的实现是否会导致耦合,我想的是如登录场景,打开扫码前要判断授权权限的场景。还有就是URL是网页该如何打开一个网页。 ``` - (BOOL)mediator:(TPMediator *)mediator routerAction:(TPMediatorRouterActionModel *)routerAction checkAuthRetryPerformActionHandler:(void (^)(void))retryHandler ```
``` - (void)changeCameraInputDeviceisFront:(BOOL)isFront { self.videoConnection.videoOrientation = _orientation; } ``` 切换摄像头的时候,采集的方向被设置为正常模式了,导致横屏切换摄像头画面不正常。
https://www.jianshu.com/p/83770200d476