diff --git a/src/Essentials/src/FilePicker/FilePicker.ios.cs b/src/Essentials/src/FilePicker/FilePicker.ios.cs index 5ee2cc558d09..de62bc6d16e3 100644 --- a/src/Essentials/src/FilePicker/FilePicker.ios.cs +++ b/src/Essentials/src/FilePicker/FilePicker.ios.cs @@ -63,6 +63,7 @@ async Task> PlatformPickAsync(PickOptions options, bool { PickHandler = urls => GetFileResults(urls, tcs) }; + } #if !MACCATALYST if (documentPicker.PresentationController != null && !(OperatingSystem.IsIOSVersionAtLeast(14, 0) && NSProcessInfo.ProcessInfo.IsiOSApplicationOnMac)) @@ -71,7 +72,6 @@ async Task> PlatformPickAsync(PickOptions options, bool new UIPresentationControllerDelegate(() => GetFileResults(null, tcs)); } #endif - } var parentController = WindowStateManager.Default.GetCurrentUIViewController(true); parentController.PresentViewController(documentPicker, true, null);