4 ms·
iOS does not push modals onto the navigation stack by default.
by saagarjha 8y ago
iOS does not push modals onto the navigation stack by default.
- half-kh-hacker 8y agoTo be fair, iOS doesn't have a universal 'back' button, so you wouldn't reach for it to exit a modal anyway.
- saagarjha 8y agoSure, but the general guideline for modals is to have a "Cancel" or "Done" bar button item somewhere to exit. This is a different action than popping a view controller off the navigation stack.