Sencha Touch 2: How to override back button on Navigation View
问题 I was wondering how to ovverride the back button on a navigation view. I tried using onBackButtonTap but it doesnt seem to work http://www.senchafiddle.com/#8zaXf var view = Ext.Viewport.add({ xtype: 'navigationview', onBackButtonTap: function () { alert('Back Button Pressed'); }, //we only give it one item by default, which will be the only item in the 'stack' when it loads items: [ { //items can have titles title: 'Navigation View', padding: 10, //inside this first item we are going to add