MobileScreen OrientationChanged vs Resized

I saw old posts related to this, but I want to know what is current.

The Orientation changed event never seems to fire when I rotate my device. However resize does.
I’m happy to put the code I need in that event, but not if it’s not supposed to work that way and will break if fixed.

Can anyone shed some light?

In the supported orientations for your particular device, eg iPhoneScreen or iPadScreen, do you have more than one orientation supported?

For example, in my app I only support a portrait orientation for iPhone but I support all orientations for iPad. I have found that OrientationChanged is never fired on iPhone because my app only supports a single orientation on that device. However the event does fire on iPad.

That’s interesting. I’ll verify.

Forum for Xojo Programming Language and IDE. Copyright © 2021 Xojo, Inc.