I'm trying to port iOS Unity Game for the new Apple Silicon Mac. For supporting window resizing and fullscreen, I just set UIRequiresFullScreen
to false, it works well on the Apple DTK.
But the slide-over and split automatically enabled with the plist property modified. The ARM Mac version runs on the iPad scheme, but we don't want the split and slide over feature enabled for iPad device. Can I disable the Split view feature programmatically when the device is determined not running on Mac?
It would be appreciated if anyone can give some ideas...
if (![NSProcessInfo processInfo].isiOSAppOnMac){
// code to disable split view and slide over
}