From 87a2bbd8b4692a2cb23e1087e866beac3cda361e Mon Sep 17 00:00:00 2001 From: Rui Marinho Date: Sun, 8 Sep 2024 02:07:51 +0100 Subject: [PATCH] Update versions --- .../MauiVisionSample/MauiVisionSample/MainPage.xaml.cs | 2 +- .../MauiVisionSample/MauiVisionSample.csproj | 6 +++--- .../MAUI/MauiSuperResolution/MauiSuperResolution.csproj | 7 ++++++- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MainPage.xaml.cs b/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MainPage.xaml.cs index 4f302b166..be7671391 100644 --- a/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MainPage.xaml.cs +++ b/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MainPage.xaml.cs @@ -36,7 +36,7 @@ public MainPage() ExecutionProviderOptions.Items.Add(nameof(ExecutionProviders.NNAPI)); } - if (DeviceInfo.Platform == DevicePlatform.iOS) + if (DeviceInfo.Platform == DevicePlatform.iOS || DeviceInfo.Platform == DevicePlatform.MacCatalyst) { ExecutionProviderOptions.Items.Add(nameof(ExecutionProviders.CoreML)); } diff --git a/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MauiVisionSample.csproj b/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MauiVisionSample.csproj index 8dd5e6c20..6227ae921 100644 --- a/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MauiVisionSample.csproj +++ b/mobile/examples/Maui/MauiVisionSample/MauiVisionSample/MauiVisionSample.csproj @@ -57,12 +57,12 @@ - - + + - + + Exe MauiSuperResolution true