Using a custom navigation in SwiftUI is a must for most apps to opt in for that perfect design. For that you need to hide the default navigation bar in your View. Hence, you will notice that good old swipe-back animated gesture is not there anymore. It is frustrating for you, your users and once again you I know.
For Good there is a solution for that using UIKit.
Just copy/paste this code in your project, test that swipe-back gesture in your app and voila!
Access exclusive components, templates, and resources to build stunning iOS apps faster.
Date
June 17, 2025Category
DefaultMinutes to read
0.5 min read