To be a little pedantic - it’s not quite the same as Apple’s user interaction design... notice how the ape performs swipes to navigate back?
Apple’s gesture for this requires starting at the edge of the screen, but Instagram allows you to start swiping anywhere.
I’d hesitate a guess that without this difference, the ape wouldn’t have been able to browse Instagram nearly as easily.