Device model "iPad" in M1 MacBook Air

When running the iOS app on M1 MacBook Air, the device model info is "iPad".

my code : [[UIDevice currentDevice] model]

I think device model is "MacBookAir".

Is it a bug?

Is it Your macOS app or iPhone and iPad app?

It's an ios app.

I'd expect the app to be running in what amounts to a simulated iPadm analogous to what happens to apps running in an Xcode simulator.

Few iOS or iPadOS apps are even going to know what to do with a Mac.

Which means the device report makes sense.

Pragmatically, what's the alternative for Apple?

Require all iPad apps to be changed to also recognize an Apple silicon Mac, too?

Whether Apple might eventually change this, with something akin to "Windows Universal"-style apps?

Device model "iPad" in M1 MacBook Air
 
 
Q