swift - Detect maximize/minimize window event and do it ...
stackoverflow.com
Images may be subject to copyright.