How to hide SideButton in SplitViewController

Someone knows how to hide this button? It's hide/show button in the primary viewcontroller at SplitView controller.
https:// d.pr/free/I/34NIEY (delete gap)

Replies

The link doesn't work even after removing the space.

Anyway, it would be better to explain in detail than provide a link to an unknown site (you could post the image on a known site)
  • what you get

  • what you expect

  • what you did or coded

Hope this link work

— I have SplitViewController in iPad layout. In Master ViewController in top left corner I see button, which hide(slide) master view controller and get it back
— I want to remove it.
— I have worked SplitVC, but can't find this button in methods, protocols, variables.
You should do it through presentsWithGesture property:

Detailed explanation here.
https://stackoverflow.com/questions/64525902/ios-14-uisplitviewcontroller-remove-hide-show-button-in-landscape-on-ipad

Thanks to tell if that works and if so close the thread.