PaulPaulBoBo

Results 2 issues of PaulPaulBoBo

子视图为自定义样式,使用Masonry布局,无法展示;demo代码如下: ``` UIView *view = [[UIView alloc] init]; view.backgroundColor = [UIColor grayColor]; UIImageView *imageView = [[UIImageView alloc] init]; imageView.backgroundColor = [UIColor redColor]; imageView.clipsToBounds = YES; imageView.layer.cornerRadius = 8; [view addSubview:imageView];...

YYKVStorage的缓存目录由外部传入path参数进行缓存目录创建(line:686),但是缓存目录是很容易被清掉的,因此在写入或读取缓存时不校验数据库文件以及缓存目录,就会存在风险。我在清掉缓存后遇到了下面的错误: `Error: execSQLStatement:onConnection:toCompletionWithRetry:writeLockHelp - SQL=COMMIT TRANSACTION;, error-code=1, error-message=cannot commit - no transaction is active` 没有活动的事务,由db文件被意外删除导致。