Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-18183

iOS: Add property to disable "swipe to go back" gesture on navigation controller windows.

    Details

      Description

      With iOS 7, Apple introduced a new navigation gesture where you can swipe to the right from the left edge of the device to close a sub window within a navigation controller (NavigationWindow, TabGroup). This feature is enabled by default.

      Currently, there is no way to disable this on Titanium except for a workaround of using a custom leftNavButton. While this works, it is not ideal for all situations, and a property to toggle this feature would be better.

      There's a solution posted on stackoverflow that could potentially be used to expose a new property on the Ti Window control:

      http://stackoverflow.com/questions/17209468/how-to-disable-back-swipe-gesture-in-uinavigationcontroller-on-ios-7

      In our particular case, we need to disable this gesture on some windows that have ScrollableViews within, as it can interfere with swiping for those views.

        Attachments

          Activity

            People

            • Assignee:
              hknoechel Hans Knöchel
              Reporter:
              bcproductions Ed
              Reviewer:
              Pedro Enrique (Inactive)
            • Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Backbone Issue Sync is enabled for your project, but we do not have any synchronization info for this issue.

                  Git Source Code