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 And the ViewGestureControllerIOS.mm code you’ve shared seems to manually setup a transition animation in ViewGestureController::beginSwipeGesture() using a snapshot view.