Possible short answer:
This might be caused by differences in the default settings for preview and simulator. To change the simulator behavior, you can either manually maximize the window or modify the launch arguments and/or window settings in the scheme editor.
Why is my SwiftUI iPad app opening minimized in the simulator?
If you've been developing SwiftUI apps for iPad and encountered a problem where your app opens minimized in the simulator, you're not alone. This issue can be frustrating, but luckily, there are solutions available to resolve the problem.
Troubleshooting SwiftUI iPad app opening in sidebar instead of full screen
If you're developing apps for iPad with SwiftUI, you may encounter an issue where your app opens in the sidebar instead of taking up the full screen. This can be frustrating for users and impact the user experience.
How to fix the issue of SwiftUI iPad app opening minimized in Xcode simulator
If you are a developer who is working on a SwiftUI iPad app and you are experiencing an issue where the app opens minimized in the Xcode simulator, then you have come to the right place. In this article, we will guide you through the steps you can take to fix this issue.