Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-6460] iOS: App always launches to non-retina iOS Simulator

GitHub Issuen/a
TypeBug
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2012-01-04T13:40:08.000+0000
Affected Version/sRelease 1.8.0.1
Fix Version/sSprint 2011-49, Release 1.8.0.1
ComponentsiOS
Labelsmodule_simulator, qe-testadded, verified-1.8.0.1
ReporterKarol Pomaski
AssigneeStephen Tramer
Created2011-12-05T11:23:39.000+0000
Updated2014-06-19T12:44:26.000+0000

Description

Problem

App always launches to non-retina iOS Simulator. It doesn't matter whether you build the app, then select retina, then build the app again. It will launch the non-retina screen.

REGRESSION - that used to work with the old version of CI build 1.8.0.1v20111118152656

Reproducible Steps

1. Build the sample code 2. When the simulator appears switch to Retina screen 3. Build the app again

Sample Code

// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

//
// create base UI tab and root window
//
var win1 = Titanium.UI.createWindow({  
    title:'Tab 1',
    backgroundColor:'#fff'
});

win1.open();

Comments

  1. Stephen Tramer 2011-12-05

    Most likely introduced by this fix, which will allow retina support in studio. As part of that, if the simulator is not explicitly launched as a --retina sim, it defaults to the regular sim.
  2. Stephen Tramer 2011-12-05

    Relies on Studio resolving the linked TISTUD bug to work with the new simulator launching infrastructure. Studio informs me this is scheduled for Studio 1.1 at this time.
  3. Arthur Evans 2011-12-08

    This is a really big hassle, and I think we need to call it out as a known limitation.
  4. Stephen Tramer 2011-12-08

    If it's necessary, I can disable the retina feature in ios-sim for the 1.8.0.1 release until the studio team can put it in. Discussing with the studio team how they want to handle this; retina toggling might go into the next release.
  5. Stephen Tramer 2011-12-08

    TESTING

    ---- To test this bug, run the test scenarios listed on TIMOB-5992. However: * if devicetype/devicefamily is 'iphone', the iphone simulator should be launched in NON-RETINA * if devicetype is ever 'ipad', the ipad simulator should be launched
  6. Michael Pettiford 2011-12-19

  7. Dustin Hyde 2012-01-03

    Added label qe-testadded.
  8. Dustin Hyde 2012-01-04

    Added label module_simulator.

JSON Source