Comment on Programmatically detect if iOS app is running on a Mac. Get a window instance and compare: window.bounds.size.width VS UIScreen.main.bounds.size.width App & System Services General Mar ’22