I created a box-like window that appears when the user touches a button. The drawer slides out from the bottom of the screen and fills the entire screen.
The box is actually UITableViewController, so there is a table in this box.
UITableViewController
If I have several lines, the user can click the title (this is actually a transparent button), and the box will move down and it will be rejected. See the figure below, where purple is actually the view controller under the drawer.
, , ; . : , , . ? , ?
UITableView UIScrollView. UIScrollViewDelegate scrollViewDidScroll:. , , . , , . , , , , . , , .
extension "Your CollectionView/TableView Controller" : UIScrollViewDelegate { func scrollViewDidScroll(_ scrollView: UIScrollView) { if scrollView.contentOffset.y < 0{ // ...... } } }