I referring to this post:
private static void MyUncaughtExceptionHandler(IntPtr exception)
{
// this is not working because NSException(IntPtr) is a protected constructor
var e = new NSException(exception);
// ...
}
How can I create an exception here?
Should I do somehting like this?
NSException exception = (NSException)ObjCRuntime.Runtime.GetNSObject(handle);