traitCollectionDidChange method

void traitCollectionDidChange(
  1. UITraitCollection? previousTraitCollection
)

! To be overridden as needed to provide custom behavior when the environment's traits change.

Implementation

void traitCollectionDidChange(UITraitCollection? previousTraitCollection) {
  final _$$ref$2 = object$.ref;
  final _$$ref$3 = previousTraitCollection?.ref;
  objc.checkOsVersionInternal('UIViewController.traitCollectionDidChange:', iOS: (false, (8, 0, 0)));
  _objc_msgSend_xtuoz7(_$$ref$2.pointer, _sel_traitCollectionDidChange_, _$$ref$3?.pointer ?? ffi.nullptr);
}