Anyone familiar with UIKit? Is the forward swipe in Safari a thing UINavigationController does, or is it custom? I'm failing to find any references to it in docs, and from things like https://stackoverflow.com/a/5891661 I can't tell if they are implementing a custom thing or not.

Wondering how to design API around this for AdwNavigationView but can't find any examples of existing API.

EDIT: Answer: it's custom :(

Swipe back and forward on navigationController

Each UIViewController, starting with rootViewController uses [self.navigationController pushViewController nextView] to push new views. Swipe works fine. How can I implement the same behavior for...

Stack Overflow
@alice It’s been a while since I’ve done any real iOS development, but the SO answer suggests to manually use UISwipeGestureRecognizer and manually push/present the controller from manually maintained nextViewController chain. So while UINavigationController is used for presenting and maintaining backwards navigation stack, the forward part is a manual addition albeit an easy one.
@0x1eaf hm, would that still have a fancy interactive transition though?
@alice I don’t suppose so: simply pushing the next controller upon nav controller’s stack would animate it the same way as clicking on some table view row button for navigation would. So it seems like the animation wouldn’t be tied to the current swipe gesture and wouldn’t be interruptible by it. Maybe there’s is some way to tie it to the current gesture from the recogniser, but I’m out of depth here.
@0x1eaf yeah... Alright, so it is entirely custom then, good to know
@alice And the ViewGestureControllerIOS.mm code you’ve shared seems to manually setup a transition animation in ViewGestureController::beginSwipeGesture() using a snapshot view.