initWithTabBarSystemItem method

UITabBarItem initWithTabBarSystemItem(
  1. UITabBarSystemItem systemItem, {
  2. required int tag,
})

initWithTabBarSystemItem:tag:

Implementation

UITabBarItem initWithTabBarSystemItem(UITabBarSystemItem systemItem, {required int tag}) {
  objc.checkOsVersionInternal('UITabBarItem.initWithTabBarSystemItem:tag:', iOS: (false, (2, 0, 0)));
  final $ret = _objc_msgSend_apdtkn(
    object$.ref.retainAndReturnPointer(),
    _sel_initWithTabBarSystemItem_tag_,
    systemItem.value,
    tag,
  );
  return UITabBarItem.fromPointer($ret, retain: false, release: true);
}