Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 91519

Why is NullReferenceException not handled in spite of enabling it in Xamarin Forms for iOS

$
0
0

Hi,

I am working on iOS development after completing the same project for Android. The PCL project is completed and works as expected in Android.

But when trying in iOS it breaks with this exception NullReferenceException - Object reference not set to an instance of an object. and it stops in the line

UIApplication.Main(args, null, "AppDelegate"); of Main.cs in ios project folder.

I even enabled break on null reference exception in the debugger settings but still it does not show me the exact line where the exception occurs.

But this feature works in Android or any other C# project. How can i make this feature to work for iOS projects.

Thanks,

Rajesh.


Viewing all articles
Browse latest Browse all 91519

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>