美文网首页iOS技术
nw_protocol_boringssl_get_output

nw_protocol_boringssl_get_output

作者: 默棉花开 | 来源:发表于2019-07-31 11:52 被阅读0次

    控制台打印:

    [BoringSSL] nw_protocol_boringssl_get_output_frames(1301) [C1.1:2][0x1023291b0] get output frames failed, state 8196

    解决方法:

    在application中 的

    - (void)applicationWillResignActive:(UIApplication *)application{} 

    添加

      __block UIBackgroundTaskIdentifier bgTask = [[UIApplication sharedApplication] beginBackgroundTaskWithName:@"bg_task" expirationHandler:^{

            [[UIApplication sharedApplication] endBackgroundTask:bgTask];

            bgTask =UIBackgroundTaskInvalid;

        }];

    相关文章

      网友评论

        本文标题:nw_protocol_boringssl_get_output

        本文链接:https://www.haomeiwen.com/subject/vjuzrctx.html