ios uiwebviewとwkwebviewのローカルストレージの保存先パス

UIWebView

NSString* appLibraryFolder = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString* storagePath = [appLibraryFolder stringByAppendingPathComponent:@"Caches"];
// storagePath -> /var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Library/Caches

WkWebView

NSString* appLibraryFolder = [NSSearchPathForDirectoriesInDomains(NSLibraryDirectory, NSUserDomainMask, YES) objectAtIndex:0];
NSString* storagePath = [[NSString alloc] initWithString: [appLibraryFolder stringByAppendingPathComponent:@"WebKit"]];
storagePath = [storagePath stringByAppendingPathComponent:@"WebsiteData/LocalStorage"];
// storagePath -> /var/mobile/Containers/Data/Application/XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX/Library/WebKit/WebsiteData/LocalStorage

参考
https://github.com/MaKleSoft/cordova-plugin-migrate-localstorage/blob/master/src/ios/MigrateLocalStorage.m