Post

Replies

Boosts

Views

Activity

In MacCatalyst,Setting the view size of UIWindow will cause viewDidLayoutSubviews not to be called when UIViewController resizer the edge of the drag window
macOS Monterey 12.6,MacBook Pro (16-inch, 2019) MacCatalyst App, version support macOS 15 code: let mainWindow = UIWindow.init(windowScene: windowSence) mainWindow.frame = frame // Settings can cause bugs mainWindow.rootViewController = *** Setting the view frame of UIWindow will cause viewDidLayoutSubviews not to be called when UIViewController resizer the edge of the drag window I expect to be able to set the initial size of the window when I open it, if I have any problems with the way I use it, please help provide the appropriate way to call it
2
0
602
Jul ’23