Actually the answer was on edford's answer, just use NSProcessInfo :
if (@available(iOS 14.0, *)) {
				if ([NSProcessInfo processInfo].isiOSAppOnMac) {
						NSLog(@"I'M ON MAC");
				}else{
						NSLog(@"IM NOT ON MAC");
				}
		}
Post
Replies
Boosts
Views
Activity
Hello guys !
I'm interested in this matter, Indeed like @edford said with Mac Apple Silicon the app should not need any modification.
But what if I do want to make some things different when I'm on a mac !?
Is the only solution using Mac Catalyst ? or can I test if i'm "running my iOS app on Mac os" somehow?