解决了语音上传到问题,接下来要解决下载播放问题

This commit is contained in:
joywayer
2025-06-15 12:36:47 +08:00
parent bba3ed1cb4
commit c11fc62bf1
513 changed files with 31197 additions and 2969 deletions

25
Pods/Qiniu/QiniuSDK/Utils/QNUrlUtils.m generated Normal file
View File

@@ -0,0 +1,25 @@
//
// QNUrlUtils.m
// QiniuSDK
//
// Created by yangsen on 2023/11/16.
// Copyright © 2023 Qiniu. All rights reserved.
//
#import "QNUrlUtils.h"
@implementation QNUrlUtils
+ (NSString *)setHostScheme:(NSString *)host useHttps:(BOOL)useHttps {
if (host == nil || host.length == 0) {
return nil;
}
if ([host hasPrefix:@"http://"] || [host hasPrefix:@"https://"]) {
return host;
}
return [NSString stringWithFormat:@"%@%@", (useHttps ? @"https://" : @"http://"), host];
}
@end