GetRootViewController.presentView causes exception


when running my app on the XCode 9.4.1 Simulator 10.0 / 851.2 / 518.22 for IOS 10.3 the following code results in an error:

GetRootViewController.presentViewController(TMSFMXNativeUIViewController1.ViewController, true, nil);

This works (but depriciated by Apple) :

GetRootViewController.presentModalViewController(TMSFMXNativeUIViewController1.ViewController, true);

Both work on IOS 11.4.1 Devices.

Please focus on devices only, the simulator has a lot of flaws.