Reproduce Step:
1. Add the following example Navigation Window code into app.js.
http://docs.appcelerator.com/platform/latest/#!/api/Titanium.UI.iOS.NavigationWindow
2. Run the app.
3. Once app open, DO NOT click the button.
4. First of all, swipe to the right from the edge of the left screen (sometimes maybe do it twice).
5. Then click the button.
Problem.
You will notice the screen is frozen, and app stop working.
Note:
1. if you put the app in background, and re-open it, it will back to work.
2. I tested app on different SDK versions, It happens on SDK 5.3.1 and 5.2.2. And no such problem on SDK 5.1.1
Talked with Angel about it. We thought it's best let me provide the fix since I worked on the initial
swipeToClose
property. PR (master): https://github.com/appcelerator/titanium_mobile/pull/8145 PR (5_4_X): https://github.com/appcelerator/titanium_mobile/pull/8146[~sliang] The bug fix has been merged and back ported in to 5.4.0. It should now work for the customer, once the local SDK is updated with the newest version of 5.4.0. EDIT: [Link](https://www.dropbox.com/s/trffbu44o7s5pkg/mobilesdk-6.0.0-osx.zip?dl=0) to custom SDK that includes the changes.
Verified as fixed. Tested on: iPhone 6 plus (9.1) iOS Simulator (9.3) Mac OSX El Capitan 10.11.6 Studio: 4.7.0.201607130543 Ti SDK: 5.4.0.v20160720132422 Xcode 7.3.1 Appc NPM: 4.2.7 Appc CLI: 5.4.0-33 Node v4.4.4 * Closing Ticket*
[~sliang] The Custom SDK I shared was just a scons of the master branch containing my changes. Since Jenkins is working, you can just download the 5.4.0 Beta from the Appcelerator build server.