iPad app on M1 Mac: Disable Maximize button for iPadOS app running on M1

I have iPhone and iPad apps ported for M1. I would like to disable the window maximize/fullscreen button. How do I do that?

iPad app on M1 Mac: Disable Maximize button for iPadOS app running on M1
 
 
Q