Is Dependency Injection not supported by IOS in .Net MAUI
Sanjay Kumar Jha
156
Reputation points
Hi,
I am using constructor dependency in my ViewModel.it is working fine for Android version but when I use the same code for IOS devices, it crashes. Parameters less constructor works but not constructor with dependency injection. also when I try to run the code in my iPhone using window OS it got crashes.
attaching screenshot for help.