Can .NET MAUI uses iOS 26 API?
Hi!
I read about the Android & iOS versions requirements for .NET MAUI version 10 here (https://learn.microsoft.com/en-us/dotnet/maui/supported-platforms?view=net-maui-10.0) but I still have a question...
I'm thinking about making an app which needs an iOS API only available on a greater iOS version than the one required by .NET MAUI.
Does this mean that I can't use MAUI for this project?
Let say I need some feature from iOS 14+, is it possible? Do I need to do some additional stuff at the project start?
5 Replies
"Required" means "minimum version possible to make it work"
If you say "I want a minimum of 3 chicken tendies" and the restaurant gives you 5 chicken tendies, they did fulfil their order just fine
So, yes, as long as the iOS version is higher or equal to the required one, you're good
Hmm, I agree with your definition of "required", but if a feature from iOS 14 would be available from MAUI, it would means that iOS 14 would be required, right?
As an example. From the apple documentation, this API is only available on iOS 14+: https://developer.apple.com/documentation/SensorKit
How can MAUI provide this feature if it only requires iOS 12.2+?
There simply is a check if it's supported: https://learn.microsoft.com/en-us/dotnet/maui/platform-integration/device/sensors?view=net-maui-9.0&tabs=windows
Accessing device sensors - .NET MAUI
Learn how to use and monitor sensors provided by your device, with .NET MAUI. You can monitor the following sensors: accelerometer, barometer, compass, shake, gyroscope, magnetometer, orientation.
if (Accelerometer.Default.IsSupported)
for exampleOkay!!!
I understand now, thanks for the information.