Skip to content

Instantly share code, notes, and snippets.

View JunyuKuang's full-sized avatar

Jonny JunyuKuang

View GitHub Profile
@JunyuKuang
JunyuKuang / ShareSheetHDREffectRemover
Created November 18, 2022 14:42
Remove the unexpected HDR effect on iOS Share Sheet when Dark Mode is off.
//
// ShareSheetHDREffectRemover.swift
// MIT license
//
// Copyright © 2022 Jonny Kuang ([email protected])
//
#if !targetEnvironment(macCatalyst)
/// Remove the unexpected HDR effect on iOS Share Sheet when Dark Mode is off.