Skip to content

Conversation

hansemannn
Copy link
Collaborator

The dismiss mode is handled by the operating system in newer iOS versions, so a manual interception causes more problems than it solves and should therefore be discontinued. Spotted by @designbymind

@designbymind
Copy link

designbymind commented Sep 12, 2025

Hey Everyone! — For TiDevs interested in additional infos on this, below are some simple tips to get this working in your apps 📲

What happened? — Apple finally agreed that being able to swipe from anywhere on the screen (instead of just the left-most edge) to return to the previous screen in your NavigationWindow and TabGroup controllers is a better UX pattern and made this the default functionality in iOS 26+. This will enable your apps to work like some of the most popular apps out there, such as: Facebook, Instagram, TikTok, Slack, Discord, and many others. For anyone running iOS 26, you can test this functionality in many of Apple’s default apps, such as: Settings, Notes, Music, Files, Podcasts, and the App Store. Just swipe from the middle of the screen (or farther to the right) and you will be able to see how much easier it is to navigate your apps with just one hand 👆

There are some caveats to making this possible with Ti.
First: if you have any custom gestures attached to your Views or are using built-in gestures (like swipe-to-delete actions on ListView/TableView), those gestures will take priority on their respective areas.
Second: if you’re using a custom NavBar or a custom ‘back button’ in the native NavBar, this functionality will not work. You must use the native NavBar with the hidesBackButton property (of your Window) set to false.
Tip💡: use the following Window property to hide the previous Window's title property from being displayed in the back button (and only display the back button icon):

backButtonTitle: ''

Questions? — Drop a message on TiDev’s Slack 📝

Swipe-to-close area iOS <18
image

Swipe-to-close area iOS 26
image

@hansemannn hansemannn merged commit 0603965 into tidev:master Sep 12, 2025
6 checks passed
@hansemannn hansemannn deleted the feature/remove-interactive-dismiss-mode branch September 12, 2025 07:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants