appearanceForTraitCollection static method

UIControl appearanceForTraitCollection(
  1. UITraitCollection trait
)

appearanceForTraitCollection:

Implementation

static UIControl appearanceForTraitCollection(UITraitCollection trait) {
  objc.checkOsVersionInternal('UIControl.appearanceForTraitCollection:', iOS: (false, (8, 0, 0)));
  final $ret = _objc_msgSend_1sotr3r(_class_UIControl, _sel_appearanceForTraitCollection_, trait.ref.pointer);
  return UIControl.fromPointer($ret, retain: true, release: true);
}