Commit 0a60fc43 authored by Felix Paul Kühne's avatar Felix Paul Kühne

tvOS linking fix

parent 7667d241
......@@ -39,11 +39,15 @@
if (customUI)
return [[VLCCustomDialogProvider alloc] initWithLibrary:library];
if ([UIAlertController class]) {
#if !TARGET_OS_TV
if ([UIAlertController class]) {
return [[VLCEmbeddedDialogProvider alloc] initWithLibrary:library];
} else {
return [[VLCiOSLegacyDialogProvider alloc] initWithLibrary:library];
}
#else
return [[VLCEmbeddedDialogProvider alloc] initWithLibrary:library];
} else {
return [[VLCiOSLegacyDialogProvider alloc] initWithLibrary:library];
}
#endif
#else
if (customUI) {
return [[VLCCustomDialogProvider alloc] initWithLibrary:library];
......
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