initWithIdiom method
Constructs a new bar appearance, targeting the passed-in idiom as a hint. Not all platforms support all available idioms. See the idiom property to determine the resolved idiom.
Implementation
UIBarAppearance initWithIdiom(UIUserInterfaceIdiom idiom) {
objc.checkOsVersionInternal('UIBarAppearance.initWithIdiom:', iOS: (false, (13, 0, 0)));
final $ret = _objc_msgSend_radagd(object$.ref.retainAndReturnPointer(), _sel_initWithIdiom_, idiom.value);
return UIBarAppearance.fromPointer($ret, retain: false, release: true);
}