[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 am getting this message in debugger since I am using MFMessageComposeViewController, MFMailComposeViewController, CNContactPickerViewController in my application, and presenting them with navigation controller. My navigation controller is customized on each view controller files individually. First I tried doing the customization in app delegate "didFinishLauching" method, but that caused some problems presenting these built in controllers. But as long as I remember I was still getting the above message, when I was trying to do the latter.
You can ignore these messages as per iOS12 Beta 2 release notes:
When running your app from Xcode, you might see console errors about UIKit classes that override the traitCollection getter. You can safely ignore these messages for system classes. If you see this error message for your own classes, it likely indicates a real issue for you to fix. (51651561)
Apple Forum Discussion Link
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With