0.2.0
Custom overlays
SafeMediaImageis now generic over its overlay: pass a trailingoverlay:closure receivingSafeMediaOverlayStateto fully brand the intervention UISafeMediaOverlayState: resolved copy,canReveal/canReportflags, and a policy-guardedreveal()— custom overlays cannot bypassblockor no-reveal policies- UIKit:
overlayProvider:onSafeMediaImageView.configure(...); the redaction blur always stays beneath custom overlays
Redesigned defaults
- Per-state SF Symbols (
eye.slash.fill,lock.fill,gearshape.fill), headline/footnote typography, capsule buttons - Adaptive layout: small frames drop the icon and tighten padding so text wraps instead of truncating
Source note
Explicit SafeMediaImage type annotations must become SafeMediaImage<SensitiveMediaOverlay>; initializer call sites are unaffected.