Now you can simply use this:
if ([NSProcessInfo processInfo].isiOSAppOnMac) {
NSLog(@"iOS app is running on MAC");
}
Topic:
App & System Services
SubTopic:
General
Tags: