小程序销毁清理

方法定义

- (void)toLogout{
id<CloudMiniProgramProtocol> mnp = [[CN21ComponentManager sharedInstance].serviceResolver getWithName:kcloudMiniProgramProtocolServiceName extra:nil];
[mnp clearAllMiniProgram:^(NSDictionary * _Nullable resultDic) {

} failure:^(NSError * _Nullable error) {

}];
}

方法说明

退出登录,需求清理所有小程序。

  1. 1. 小程序销毁清理
    1. 1.1. 方法定义
    2. 1.2. 方法说明