Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-16128] iOS7: Swipe Back doesn't work properly with navbarHidden

GitHub Issuen/a
TypeBug
Priorityn/a
StatusReopened
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS
Labelsios7, reprod, swipe
ReporterJong Eun Lee
AssigneeUnknown
Created2013-10-03T21:39:05.000+0000
Updated2018-02-28T20:04:01.000+0000

Description

iOS7 Swipe Back doesn't work in many cases.
var tg = Ti.UI.createTabGroup();
var tb = Ti.UI.createTab({
window : Ti.UI.createWindow({ //firstWindow
    backgroundColor:'red',
    navBarHidden : false,
    title : 'firstWindow'
})
});
 
tg.addTab(tb);
tg.open();
 
setTimeout(function(){
    var secondWindow = Ti.UI.createWindow({ //secondWindow
        backgroundColor:'blue',
        navBarHidden : true,
        title : 'secondWindow'
    });
    tb.open(secondWindow);
},500);

try follow cases.

|| case || firstWindow's navBarHidden || secondWindow's navBarHidden || desciption || | 1 | false | false | "swipe back" work! | | 2 | true | false | "work with black nav. | | 3 | true | true | "swipe back" doesn't work | | 4 | false | true | "swipe back" doesn't work |

Comments

  1. Mostafizur Rahman 2013-10-04

    Hello, I have test this issue with provided test code. I cant reproduce this bug. *My testing environment follows:* OS: MAC OX X 10.8.5 iOS SDK: 7.0,Xcode 5 iOS Simulator: 6.0 Ti SDK: 3.1.2 GA, 3.1.3 GA Ti CLI: 3.1.2 *My test code*
       var tg = Ti.UI.createTabGroup();
       var tb = Ti.UI.createTab({
       window : Ti.UI.createWindow({ //firstWindow
           backgroundColor:'red',
           navBarHidden : true 
       })
       });
       
       tg.addTab(tb);
       tg.open();
       
       setTimeout(function(){
           var closeBtn = Ti.UI.createButton({
               title : 'Close'
           });
           var secondWindow = Ti.UI.createWindow({ //secondWindow
               backgroundColor:'blue',
               navBarHidden : true
           });
           secondWindow.add(closeBtn);
           tb.open(secondWindow);
           closeBtn.addEventListener('click',function(){
               tb.close(secondWindow,{animated:true});
           });
       },500);
    Thanks
  2. Jong Eun Lee 2013-10-29

    You can reproduce :). Try just use swipe back to clouse. Don't use back(close) button. Look at this video. http://cl.ly/35040l0Q3l0O
  3. Mostafizur Rahman 2013-10-29

    Hello JongEnu Lee, Please follow linked issue for next update. Thanks
  4. Ritu Agrawal 2014-01-06

    Reopening this ticket and moving it to engineering as we can reproduce it consistently with the provided test case. Please refer to the video link for a very clear description.
  5. Unknown 2014-04-21

    This issue was previously scheduled to be worked on in more than one sprint: * 'Release 3.1.2' (on board '3.1.X Triage') * 'Release 3.0.1/TS 3.0.2' (on board '3.1.0 Triage') Starting from JIRA Agile 6.3, an issue can only belong to a single future sprint. Read more about this change: http://docs.atlassian.com/agile/docs-0630/Sprint+Marker+Migration This issue is now scheduled for future sprint 'Release 3.1.2' (on board '3.1.X Triage'). If this is incorrect, please update the issue accordingly. This comment was automatically generated by JIRA. If it is no longer relevant, please feel free to delete it.
  6. Jonatan Lundin 2014-04-30

    Has there been any progress on this? I'm still seeing this issue on 3.2.2.GA.
  7. Lee Morris 2017-07-10

    I am able to reproduce this issue with the following environment; iPhone 6 (10.0) Studio 4.9.0.201705302345 Ti SDK 6.1.1 GA Appc NPM 4.2.9 Appc CLI 6.2.2 Ti CLI 5.0.14 Alloy 1.9.11 Xcode 8.2 (8C38) Node v4.8.2 Java 1.8.0_131

JSON Source