CKBrowserSwitcherViewController overrides the -traitCollection getter

I am seeing this warning on Xcode 12.2 whenever I started the app right away. The exact message is:


[TraitCollection] Class CKBrowserSwitcherViewController overrides the -traitCollection getter, which is not supported. If you're trying to override traits, you must use the appropriate API.



I did not see any results on the Internet and wondered what might be triggering this warning.

Anyone have an idea?

It doesn't break anything as far as I can see
Answered by egrimo in 648878022
Update:

https://developer.apple.com/forums/thread/118599

The same thread was here and not specific to SwiftUI but this warning can be safely ignored according to Apple if it's a system class like "CKBrowserSwitcherViewController" . However, if the class that produces is a custom class, then it's a legit warning to you.
Accepted Answer
Update:

https://developer.apple.com/forums/thread/118599

The same thread was here and not specific to SwiftUI but this warning can be safely ignored according to Apple if it's a system class like "CKBrowserSwitcherViewController" . However, if the class that produces is a custom class, then it's a legit warning to you.
CKBrowserSwitcherViewController overrides the -traitCollection getter
 
 
Q