Commit f30d1289 authored by Tobias's avatar Tobias Committed by Felix Paul Kühne
Browse files

don't migrate to shared group container on pre-iOS 7

parent ea74e651
......@@ -191,6 +191,14 @@
- (void)pathMigrationToGroupsIfNeeded:(NSError **)migrationError
{
/*
* We can't and don't need to migrate to groups on pre-iOS 7
*/
if (![[NSFileManager defaultManager] respondsToSelector:@selector(containerURLForSecurityApplicationGroupIdentifier:)]) {
return;
}
MLMediaLibrary *mediaLibrary = [MLMediaLibrary sharedMediaLibrary];
NSURL *groupURL = [[NSFileManager defaultManager] containerURLForSecurityApplicationGroupIdentifier:@"group.org.videolan.vlc-ios"];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment