appearanceForTraitCollection static method

UIBarItem appearanceForTraitCollection(
  1. UITraitCollection trait
)

appearanceForTraitCollection:

Implementation

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