接口- (BOOL)saveItemWithKey:(NSString )key
value:(NSData )value
filename:(nullable NSString )filename
extendedData:(nullable NSData )extendedData;
的注释里提到
If the type is YYKVStorageTypeSQLite, then the filename will be ignored.
但是 filename并没有被无视,而是依然使用filename写到文件中了。
接口- (BOOL)saveItemWithKey:(NSString )key value:(NSData )value filename:(nullable NSString )filename extendedData:(nullable NSData )extendedData; 的注释里提到 If the
type
is YYKVStorageTypeSQLite, then thefilename
will be ignored. 但是 filename并没有被无视,而是依然使用filename写到文件中了。