Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 9 - Raise Min iOS supported version to 13.0 or 15.0 #22718

Open
1 of 6 tasks
Redth opened this issue May 29, 2024 · 0 comments · Fixed by #22794
Open
1 of 6 tasks

.NET 9 - Raise Min iOS supported version to 13.0 or 15.0 #22718

Redth opened this issue May 29, 2024 · 0 comments · Fixed by #22794
Assignees
Labels
area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions proposal/accepted s/triaged Issue has been reviewed

Comments

@Redth
Copy link
Member

Redth commented May 29, 2024

There have been a number of new API’s made available on later versions of iOS that will help MAUI’s implementation become simpler and more reliable, while decreasing the maintenance cost of supporting older, minimally used platform versions.

Some examples:

  • UICollectionView + Compositional Layouts (13+)
  • UIButtonConfiguration (iOS15+)

Consider the version information on iOS version by device — iOS Ref our current (.NET 8) and future (.NET 9) oldest supported devices can be summarized below (year in parenthesis is :

.NET 8 .NET 9
iPhone iPhone 5 (2012) iPhone 6S/6S Plus (2015)
iPad iPad gen4 (2012) iPad Air 2 (2014) / iPad mini 4 (2015)
iPod iPod touch gen6 (2015) iPod touch gen7 (2019)

(YEAR) is the date when the device was first released

iOS 13 vs 15

We are also considering skipping directly to iOS 15 as any device which supported iOS 13, Apple also continued to support updating to iOS 15.

It’s also worth considering Apple’s self reported statistics on iOS version usage: App Store - Support - Apple Developer.
Based on these statistics, 89% of all devices are using iOS 16 or newer. Apple does not specify the iOS versions for the remaining 11%, however it’s reasonable to expect some amount of those are on 13, 14, or 15.


I believe that we just need to update the:

<PropertyGroup Condition="'$(_MauiTargetPlatformIsiOS)' == 'True'">
    <SupportedOSPlatformVersion>11.0</SupportedOSPlatformVersion>
    <TargetPlatformMinVersion>11.0</TargetPlatformMinVersion>

in our Directory.Build.targets. This will mark our assemblies as needing new OS versions via a slew of warnings in the user projects. Users will need to manually update their csproj.

We could have a look at moving the SupportedOSPlatformVersion items into the maui targets and the user can override in the IDE and/or in the csproj. This way the csproj is shorter and we can bump it when we need to.

Todo:

@Redth Redth converted this from a draft issue May 29, 2024
@Redth Redth added this to the 9.0-preview7 milestone May 29, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/triaged Issue has been reviewed label May 29, 2024
@Redth Redth assigned mattleibow and unassigned rmarinho May 29, 2024
@PureWeen PureWeen added the area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions label May 31, 2024
@mattleibow mattleibow changed the title .NET 9 - Raise Min iOS supported version .NET 9 - Raise Min iOS supported version to 13.0 Jun 3, 2024
@mattleibow mattleibow linked a pull request Jun 3, 2024 that will close this issue
@mattleibow mattleibow moved this from Todo to In Progress in MAUI SDK Ongoing Jun 4, 2024
@Redth Redth changed the title .NET 9 - Raise Min iOS supported version to 13.0 .NET 9 - Raise Min iOS supported version to 13.0 or 15.0 Jun 4, 2024
@samhouts samhouts removed the s/triaged Issue has been reviewed label Jul 3, 2024
@samhouts samhouts added the s/triaged Issue has been reviewed label Jul 10, 2024
@PureWeen PureWeen modified the milestones: 9.0-preview7, 9.0-rc1 Jul 31, 2024
@PureWeen PureWeen modified the milestones: 9.0-rc1, 9.0-rc2 Aug 23, 2024
@PureWeen PureWeen modified the milestones: 9.0-rc2, .NET 10 Planning Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-infrastructure CI, Maestro / Coherency, upstream dependencies/versions proposal/accepted s/triaged Issue has been reviewed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants