Karosli

Results 23 issues of Karosli

NSInternalInconsistencyException UICollectionView received layout attributes for a cell with an index path that does not exist: {length = 2, path = 5459 - 1}

We use data task with request to send api, but found that your guys retry policy does not support data task, so I add this retry function for data task...

+ (void)performBonjourBlock:(dispatch_block_t)block { HTTPLogTrace(); [self performSelector:@selector(executeBonjourBlock:) onThread:bonjourThread withObject:block waitUntilDone:YES]; } #0 Thread Fatal Signal App terminated by SIGPIPE 解析原始 0 libsystem_kernel.dylib _mach_msg_trap + 8 1 libsystem_kernel.dylib _mach_msg + 72 2...

我自己本地没有复现处理,bugly 上的日志在这里。不确定是什么情况下导致 HTTPServer 会被释放掉. Thread 24 0 libdispatch.dylib | ___DISPATCH_WAIT_FOR_QUEUE__ + 448 -- | -- 1 libdispatch.dylib | __dispatch_sync_f_slow + 140 2 libdispatch.dylib | __dispatch_sync_f_slow + 140 3 App |...

如果Killded: 9的错误,需要使用重新签名,可以解决 iPhone:~ root# MJAppTools Killed: 9 iPhone:~ root# cd /private/var/mobile/Documents iPhone:/private/var/mobile/Documents root# ldid -Sent.xml `which MJAppTools` iPhone:/private/var/mobile/Documents root# inject `which MJAppTools` Injecting to trust cache... Actually injecting 1 keys...

``` 默认缓存策略 NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:requestURL]; ``` 实际复现步骤: 1、打开一个支持协商缓存的h5 2、退出当前h5,然后重新进入,会发现有重新请求h5主html,状态码是200 期望结果 1、打开一个支持协商缓存的h5 2、退出当前h5,然后重新进入,会发现有重新请求h5主html,状态码是304