Skip to content

Commit

Permalink
OperatingSystem.IsMacCatalystVersionAtLeast(14)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanpeppers committed Sep 13, 2022
1 parent 99e15aa commit 65c648e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Core/src/Platform/iOS/MauiPageControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public class MauiPageControl : UIPageControl
public MauiPageControl()
{
ValueChanged += MauiPageControlValueChanged;
if (OperatingSystem.IsIOSVersionAtLeast(14) || OperatingSystem.IsTvOSVersionAtLeast(14))
if (OperatingSystem.IsIOSVersionAtLeast(14) || OperatingSystem.IsMacCatalystVersionAtLeast(14) || OperatingSystem.IsTvOSVersionAtLeast(14))
{
AllowsContinuousInteraction = false;
BackgroundStyle = UIPageControlBackgroundStyle.Minimal;
Expand Down

0 comments on commit 65c648e

Please sign in to comment.