Just noticed this exception when testing my app on iOS 13:
[TraitCollection] Class _UISearchPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
[TraitCollection] Class _UISearchFormSheetPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
[TraitCollection] Class _UISearchPopoverPresentationController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.
*** Assertion failure in -[_UINavigationBarVisualProviderModernIOS animateForSearchPresentation:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKitCore/UIKit-3861/_UINavigationBarVisualProviderModernIOS.m:1521
Hosted search should take a different code path
The warning about overriding traitCollection getter is no appropriate as I don't do this in my code.
The app was built against the iOS 12 SDK. Is this a known issue? Is this a bug in UIKit or on my side?