When I used swift 3 to run some old code, and convert them to newest swift 3. I found the method compile error
override func willTransitionToTraitCollection( newCollection: UITraitCollection,
withTransitionCoordinator coordinator: UIViewControllerTransitionCoordinator) {
}
And compiler told me "Method does not override any method from its superclass"
should I import some modules?