Intercom iOS SDK registers 7 UIAppearance rules from a +load method, before main(), even if the Messenger is never opened:
- UIActivityIndicatorView in ICMWindow: setColor:
- UIButton in ICMWindow: setTitleColor:forState:, setTitleShadowColor:forState:, setBackgroundImage:forState:
- UITableView in ICMWindow: separator and section index setters
- UITableViewCell in ICMWindow: setSeparatorInset:, setFocusStyle:
- UIScrollView in ICMWindow: setContentInsetAdjustmentBehavior:
- UIView in ICMWindow: setBackgroundColor:, setSemanticContentAttribute:
- UIView in UIAlertController in ICMWindow: setTintColor:
They're scoped to ICMWindow, but once any rule exists for UIView, UIKit runs its slow appearance path for every view that enters a window anywhere in the app (+[_UIAppearance _applyInvocationsTo:window:…]). In our app that costs about 25–30 ms of main-thread time per screen push.
Request: don't create ICMPresentationManager in +load just to observe scene foregrounding (a lightweight observer would do), or call resetAppearanceWithin: lazily when ICMWindow or the first Intercom view controller is created.
