initWithIdiom method

UITabBarAppearance initWithIdiom(
  1. UIUserInterfaceIdiom idiom
)

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

UITabBarAppearance initWithIdiom(UIUserInterfaceIdiom idiom) {
  objc.checkOsVersionInternal('UITabBarAppearance.initWithIdiom:', iOS: (false, (13, 0, 0)));
  final $ret = _objc_msgSend_radagd(object$.ref.retainAndReturnPointer(), _sel_initWithIdiom_, idiom.value);
  return UITabBarAppearance.fromPointer($ret, retain: false, release: true);
}