Post

Replies

Boosts

Views

Created

Xamarin.iOS loading xaml hangs randomly
While developing Xamarin app for iOS I observed that large xaml from portable project is loaded with some delay or fails to be loaded with the assembly - 20% chance of fail. Unfortunately I have no way to prove it - the only symptom is that randomly InitializeComponent hangs - probably the UI thread hangs. I made sure there is no background processing from the app. The only suspect is XAML size which can be 95kB large. I am using XamlCompilation to speed up loading. How is Xaml loaded in the cycle of app launch process? Can I track it somehow? Mac console does not give me any meaningful information - at least I am not able to read it out. If this is not the right place please to ask the question direct me to the right one. I appreciate sharing your experience in this area - maybe some tip. JK
1
0
935
May ’22