How to make an iPhone app resizable on Macs with an M-chip?

I have an iOS app that is compatible with Macs with an M chip. It is in a small size when launched, and can be put in full screen. But there is no way to resize the window. How can I achieve that?

Unless it is a game, apps don't automatically launch full screen for obvious reasons. It's a preference of the user to resize the window as they see fit for their own needs. If your app only supports iPhone then it will always launch using the size of an iPhone device. You can go back to the drawing board and include a made-for-iPad target and layouts or include native macOS support if you wish for your users to have the ability to resize the app window.

How to make an iPhone app resizable on Macs with an M-chip?
 
 
Q