I have several iPhone Apps that I need to update for the new iPhone Duo. I have been using GetScreenSize() funtion to determine the iPhone Model. The problem is that GetScreenSize() returns W:375 , H: 667 for both the iPhone Duo and the iPhone SE.
Jade supplied several functions to get device size but none has worked with iOS 26 or 27 and Using the latest Xojo 2026 R3 Beta did not did help so far.
Jade supplied:
Var CurrentH As Integer = GetHSizeClass(Traits)
Var CurrentV As Integer = GetVSizeClass(Traits)
returns 375, 667. (same as GetScreenSize)
Var B As CGRect = BoundsProp(ViewPtr)
returns 375, 667
I need a way to determine if a device is the iPhone Duo so that I can optimize my apps to take advantage to the iPad Like mode.
Help Me Please!!
