I have a weird problem. I created a .NET MAUI app. At a point of my app, i am loading some basic old .NET assemblies that i load into a byte array before, such as;
byte[] asmbinary=loadassemblybinary();
Assembly MyAssembly = Assembly.Load(asmbinary);
It runs perfect on
WinUI (both Debug and Release Mode),
Android (both Debug and Release modes),
MacCatalyst (both Debug and Release modes),
iOS (Debug mode)
but at iOS Release Mode, app crashes at Assembly.Load with no exception (even i can't catch it with try) .
Actually i dont need release mode, but I have some CollectionViews in my app. CollectionView scroll performance is really bad at debug modes but works smooth at release mode for all platforms. (i couldn't figure out why ui has such a low performance on debug mode, or how to fix it. A workaround for this would be good also)
Now i need to either speedup ui performance at debug mode, or fix Assembly.Load at iOS release mode.
Any idea for my situation?
Thanks in advance.
Ender