tencentyun / qcloud-sdk-ios

腾讯云服务iOS终端SDK
http://qcloud.com
36 stars 26 forks source link

创建 COS 服务实例 fenceQueue:requestCreatorWithContinue: 委托不调用 #28

Closed y0unghe closed 3 years ago

y0unghe commented 3 years ago

为了帮助我们更好的解决您的问题,请您先回答下面的几个问题。

`func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool {

    let config = QCloudServiceConfiguration.init();
    config.appID = "test id";

    let endpoint = QCloudCOSXMLEndPoint.init();
    //服务地域简称,例如广州地区是 ap-guangzhou
    endpoint.regionName = "ap-hongkong";
    // 使用 HTTPS
    endpoint.useHTTPS = true;
    config.endpoint = endpoint;
    // 密钥提供者为自己
    config.signatureProvider = self;

    // 初始化 COS 服务示例
    QCloudCOSXMLService.registerDefaultCOSXML(with: config);
    QCloudCOSTransferMangerService.registerDefaultCOSTransferManger(
        with: config);

    // 初始化临时密钥脚手架
    self.credentialFenceQueue = QCloudCredentailFenceQueue.init();
    self.credentialFenceQueue?.delegate = self;

    return true
}`

QCloudCredentailFenceQueueDelegate 和 QCloudSignatureProvider2委托的方法,打断点都没有进来。不知道是哪里的问题。

15809284891 commented 3 years ago

您的问题可参考该文档解决哈://cloud.tencent.com/document/product/436/50747

15809284891 commented 3 years ago

由于客户长时间未回复,暂时关闭