> > > Now, this does not work any more on Mac's with "the notch". > At least, the Quicktime full-screen window, and a youtube video playing in > Safari in full-screen, is smaller than the mainScreen.frame.size .
Have you tried using mainScreen.visibleFrame, or adjusting mainScreen.frame with mainScreen.safeAreaInsets? I haven’t tried it but I would hope those would give the right ‘fullscreen’ sizes for any current or future screen shape. Angela Brett (she/her) http://angelastic.com ang...@angelastic.com _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com