No, the OS can provide frameworks that handle it by default, so app devs don’t have to worry. macOS does this.