Detect, if iPad app is running on Silicon Mac

How can I detect, if an iPad app is working on a Mac Arm/Silicon? I need this to to deactivate some functionality of my app for the Mac, and later made add additional functionality for the Mac
TARGET_OS_MACCATALYST does not work here, as it's not a MACCATALYST app ...

Accepted Reply

Ah, just see there are a couple of similar questions already

This looks like the solution:
https://developer.apple.com/documentation/foundation/nsprocessinfo/3608556-iosapponmac?language=objc


Replies

Ah, just see there are a couple of similar questions already

This looks like the solution:
https://developer.apple.com/documentation/foundation/nsprocessinfo/3608556-iosapponmac?language=objc