{ "id": "110347", "key": "TIMOB-12893", "fields": { "issuetype": { "id": "1", "description": "A problem which impairs or prevents the functions of the product.", "name": "Bug", "subtask": false }, "project": { "id": "10153", "key": "TIMOB", "name": "Titanium SDK/CLI", "projectCategory": { "id": "10100", "description": "Titanium and related SDKs used in application development", "name": "Client" } }, "fixVersions": [ { "id": "15276", "description": "2013 Sprint 05 Core", "name": "2013 Sprint 05 Core", "archived": true, "released": true, "releaseDate": "2013-03-11" }, { "id": "14815", "description": "2013 Sprint 05", "name": "2013 Sprint 05", "archived": true, "released": true, "releaseDate": "2013-03-11" } ], "resolution": { "id": "7", "description": "", "name": "Invalid" }, "resolutiondate": "2013-03-08T01:55:31.000+0000", "created": "2013-02-27T23:53:10.000+0000", "priority": { "name": "Critical", "id": "1" }, "labels": [ "supportTeam" ], "versions": [ { "id": "13505", "description": "Release 3.0.0", "name": "Release 3.0.0", "archived": true, "released": true, "releaseDate": "2012-12-14" }, { "id": "14164", "description": "Release 3.0.2", "name": "Release 3.0.2", "archived": true, "released": true, "releaseDate": "2013-02-19" } ], "issuelinks": [], "assignee": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "updated": "2017-03-03T22:14:30.000+0000", "status": { "description": "The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.", "name": "Closed", "id": "6", "statusCategory": { "id": 3, "key": "done", "colorName": "green", "name": "Done" } }, "components": [], "description": "h4. Problem\r\n\r\nThe issue occurs when running the iPhone app on an iPad. After displaying the splash screen on an ipad (Default-Portrait.png), the screen will flicker and display Default.png for a brief moment (between the period when the splash screen ends and the window is displayed) before opening the window.\r\n\r\nPlease see the screencast here: http://dl.dropbox.com/u/31008648/IMG_5304.MOV.\r\n\r\nNote that in the video the second time that Default-Portrait.png displayed is actually a window with the backgroundImage set to Default-Portrait.png. \r\n\r\nh4. Code to reproduce\r\n\r\nHere is the code that is being run in the video:\r\n\r\n{code}\r\nvar platform = Ti.Platform.osname, model = Ti.Platform.model, tmpSplash = 'Default.png';\r\n\r\nvar isiPad = model.indexOf(\"iPad\");\r\n\r\nif (isiPad > -1) {\r\n Ti.API.info(\"iPad Detected!\");\r\n tmpSplash = 'Default-Portrait.png';\r\n}\r\n \r\nTi.API.info(\"Creating window with image: \" + tmpSplash);\r\n \r\nvar loadingWin = Ti.UI.createWindow({\r\n top : -20,\r\n backgroundImage : tmpSplash,\r\n backgroundColor : 'transparent',\r\n navBarHidden : true,\r\n exitOnClose : true\r\n});\r\nloadingWin.open();\r\n{code}\r\n\r\n\r\n", "attachment": [], "flagged": false, "summary": "iOS: iPad switches to Default.png after the splash screen Default-Portrait.png is displayed before opening a window", "creator": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "subtasks": [], "reporter": { "name": "btran", "key": "btran", "displayName": "Betty Tran", "active": true, "timeZone": "America/Los_Angeles" }, "environment": "iPad (most noticeable in first generation iPads)\r\nTested on iOS 4.3, 6.0\r\nTitanium 3.0 and 3.0.2GA", "comment": { "comments": [ { "id": "241273", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "So the issue here is that this is an apple bug: As per https://developer.apple.com/library/ios/#qa/qa2010/qa1588.html\n\n iPhone-only applications may only have one launch image. It should be in PNG format and measure 320 x 480 pixels. Name your launch image file Default.png.\n\nSo what SHOULD be happening is that Default-Portrait.png is never used. The idiom, regardless of model name, is iPhone. Apple's launch code makes a mistake of using Default-Portrait.png in this case.\n\nWhile tempting to fix things to be bug-compatible with Apple, there is a high probability that Apple will fix their bug, making our fix a bug.\n\nThe solution is that, if this app is indeed an iPhone-only app, it SHOULD NOT have iPad-tailored graphics, but instead use only Default.png, as specified by Apple. Remove Default-Portrait.png, Default-Landscape.png, and other non-iPhone-only graphics.\n\nMarking as invalid.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T01:54:46.000+0000", "updated": "2013-03-08T01:54:46.000+0000" }, { "id": "241274", "author": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "body": "This is due to an Apple Bug. Recreating Apple's bug would not be advantageous in the long run.", "updateAuthor": { "name": "blainhamon", "key": "blainhamon", "displayName": "Blain Hamon", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T01:55:31.000+0000", "updated": "2013-03-08T01:55:31.000+0000" }, { "id": "241275", "author": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "body": "+1 for that", "updateAuthor": { "name": "mstepanov", "key": "mstepanov", "displayName": "Max Stepanov", "active": true, "timeZone": "America/Los_Angeles" }, "created": "2013-03-08T01:58:04.000+0000", "updated": "2013-03-08T01:58:04.000+0000" }, { "id": "408963", "author": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "body": "Closing as invalid.", "updateAuthor": { "name": "lmorris", "key": "lmorris", "displayName": "Lee Morris", "active": false, "timeZone": "America/Los_Angeles" }, "created": "2017-03-03T22:14:30.000+0000", "updated": "2017-03-03T22:14:30.000+0000" } ], "maxResults": 5, "total": 5, "startAt": 0 } } }