appearanceForTraitCollection static method

UIView appearanceForTraitCollection(
  1. UITraitCollection trait
)

appearanceForTraitCollection:

Implementation

static UIView appearanceForTraitCollection(UITraitCollection trait) {
  objc.checkOsVersionInternal('UIView.appearanceForTraitCollection:', iOS: (false, (8, 0, 0)));
  final _ret = _objc_msgSend_1sotr3r(_class_UIView, _sel_appearanceForTraitCollection_, trait.ref.pointer);
  return UIView.castFromPointer(_ret, retain: true, release: true);
}