Agam
Agam

Reputation: 39

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

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.

Upvotes: 0

Views: 921

Answers (1)

Agam
Agam

Reputation: 39

- (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.

Upvotes: 1

Related Questions