MauiUIApplicationDelegate.Current.Services is obsolete #2262
Labels
doc-enhancement
Improve the current content [org]
dotnet-maui/subsvc
dotnet-mobile/svc
Pri2
📌 seQUESTered
Identifies that an issue has been imported into Quest.
Type of issue
Outdated article
Description
This article recommends accessing the IServiceProvider in native iOS code from MauiUIApplicationDelegate.Current.Services, but this is marked as obsolete.
Page URL
https://learn.microsoft.com/en-us/dotnet/maui/fundamentals/dependency-injection?view=net-maui-8.0
Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/fundamentals/dependency-injection.md
Document Version Independent Id
1347a217-86f8-a9ca-3692-688db41fb1e4
Article author
@davidbritch
Metadata
Associated WorkItem - 259813
The text was updated successfully, but these errors were encountered: