Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-9335] iOS: New feature to add a "paused" event listener

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-06-04T15:13:54.000+0000
Affected Version/sRelease 2.0.1
Fix Version/sRelease 2.1.0, Sprint 2012-12 API, Release 2.0.3
ComponentsiOS
Labelsapi, module_titanium, qe-testadded
ReporterVarun Joshi
AssigneeVishal Duggal
Created2012-05-31T17:24:28.000+0000
Updated2012-08-07T10:56:42.000+0000

Description

Comments

  1. Vishal Duggal 2012-06-04

    Test Code
       
       var win = Ti.UI.createWindow({backgroundColor:'white'});
       
       var l = Titanium.UI.createLabel({
           text:'See Log for output'
       });
       win.add(l);
       
       win.open();
        
        
       Ti.App.addEventListener('pause',function(e){
       	Ti.API.info('PAUSE EVENT');
       })
       Ti.App.addEventListener('paused',function(e){
       	Ti.API.info('PAUSED EVENT');
       })
       Ti.App.addEventListener('resume',function(e){
       	Ti.API.info('RESUME EVENT');
       })
       Ti.App.addEventListener('resumed',function(e){
       	Ti.API.info('RESUMED EVENT');
       })
       
  2. Max Stepanov 2012-06-04

    PR merged https://github.com/appcelerator/titanium_mobile/pull/2314
  3. Max Stepanov 2012-06-05

    PR for 2_0_X merged https://github.com/appcelerator/titanium_mobile/pull/2322
  4. Dustin Hyde 2012-06-06

    Closing as Fixed. Verified via Vishal's test code. SDK: 2.1.0.v20120606105255 Studio: 2.1.0.201206051612 OS: Snow Leopard Devices Tested: iPhone Simulator 5.0, iPad2 4.3.5
  5. Dustin Hyde 2012-06-06

    Also verified on: 2.0.3.v20120605111708

JSON Source