TARGET_OS_UIKITFORMAC ?

For compile-time checking of iPad app running on macOS Catalina is


#if TARGET_OS_UIKITFORMAC


#endif


the proper method?


Also, where can we find sample code that helps show us how to take advantage of macOS peculiarities such as gaining control over window for aspect ratio conforming and full screen option?


Thanks in advance