华为云会议 MEETING-拉起应用并登录:代码示例

时间:2024-04-26 18:44:37

代码示例

- (void)handleEventWithNonce:(NSString *)nonce {
    NSString * schemeStr = [NSString stringWithFormat:@"cloudlink://welinksoftclient/h5page?page=launch&nonce=%@", nonce];
    NSLog(@"schemeStr:%@", schemeStr);
    NSURL *schemUrl = [[NSURL alloc] initWithString:[schemeStr stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]]];
    [[UIApplication sharedApplication] openURL:schemUrl options:@{} completionHandler:nil];
}

上述代码示例仅作为逻辑示例,不能直接使用。

support.huaweicloud.com/scheme-meeting/toctopics/zh-cn_topic_0000001228969218.html