hidesSearchBarWhenScrolling property

bool get hidesSearchBarWhenScrolling

If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.

Implementation

bool get hidesSearchBarWhenScrolling {
  objc.checkOsVersionInternal('UINavigationItem.hidesSearchBarWhenScrolling', iOS: (false, (11, 0, 0)));
  return _objc_msgSend_91o635(this.ref.pointer, _sel_hidesSearchBarWhenScrolling);
}
set hidesSearchBarWhenScrolling (bool value)

If this property is true (the default), the searchController’s search bar will hide as the user scrolls in the top view controller’s scroll view. If false, the search bar will remain visible and pinned underneath the navigation bar.

Implementation

set hidesSearchBarWhenScrolling(bool value) {
  objc.checkOsVersionInternal('UINavigationItem.setHidesSearchBarWhenScrolling:', iOS: (false, (11, 0, 0)));
  _objc_msgSend_1s56lr9(this.ref.pointer, _sel_setHidesSearchBarWhenScrolling_, value);
}