iOS14 introduced that long-press on back button which opens a callout menu to go back to specific VC in stack.
I would like to disable it, is there a possibility to do such a thing, and if yes how ?
Thanks
iOS14 introduced that long-press on back button which opens a callout menu to go back to specific VC in stack.
I would like to disable it, is there a possibility to do such a thing, and if yes how ?
Thanks
Try to set backButtonDisplayMode
to .minimal
on your VC ->
if #available(iOS 14.0, *) {
navigationItem.backButtonDisplayMode = .minimal
}
https://developer.apple.com/documentation/uikit/uinavigationitem/3656350-backbuttondisplaymode