Is there a UIWindow resize event for an IOS app under MacOS on Apple M1

770 Views Asked by At

Running an IOS app under MacOS on an Apple M1 processor:

We are looking for a way to be notified when the app's window is resized by the user.

1

There are 1 best solutions below

0
Agam On
- (void)viewWillTransitionToSize:(CGSize)size withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator

This function gets called for every change in window size for all 'flavors' of app compilation: IOS app (under MacOS on Apple M1), Mac Catalyst, etc.