titleView property

UIView? get titleView

Custom view to use in lieu of a title. May be sized horizontally. Only used when item is topmost on the stack.

Implementation

UIView? get titleView {
  objc.checkOsVersionInternal('UINavigationItem.titleView', iOS: (false, (2, 0, 0)));
  final _ret = _objc_msgSend_151sglz(this.ref.pointer, _sel_titleView);
  return _ret.address == 0 ? null : UIView.castFromPointer(_ret, retain: true, release: true);
}
set titleView (UIView? value)

Custom view to use in lieu of a title. May be sized horizontally. Only used when item is topmost on the stack.

Implementation

set titleView(UIView? value) {
  objc.checkOsVersionInternal('UINavigationItem.setTitleView:', iOS: (false, (2, 0, 0)));
  _objc_msgSend_xtuoz7(this.ref.pointer, _sel_setTitleView_, value?.ref.pointer ?? ffi.nullptr);
}