Titanium JIRA Archive
Appcelerator Community (AC)

[AC-2372] Ti SDK 3.2.0.GA, window header stretched in iOS 6 but looks good in iOS 7

GitHub Issuen/a
ResolutionCannot Reproduce
Resolution Date2014-01-02T08:03:51.000+0000
Affected Version/sn/a
Fix Version/sn/a
ComponentsStudio, Titanium SDK & CLI
Labelsios, iphone
ReporterKaran Thakkar
AssigneeRitu Agrawal


I updated my app to Ti SDK 3.2.0.GA. I have to maintain my code for iOS 6 and 7. But the header of window looks very stretched in iOS 6 but it looks good on iOS 7. I used extenEdges but this property works only for iOS 7.


iOS Simulator Screen shot Dec 27, 2013 12.39.33 AM.png2013-12-26T18:47:44.000+000015542


  1. Ritu Agrawal 2013-12-26

    Thanks for reporting this issue but we would need a simple and complete test case to troubleshoot this issue. Let us also know if you are testing on iOS6 and iOS7 simulators or devices.
  2. Karan Thakkar 2013-12-26

    I tested this issue in iOS 6 and iOS 7 device as well as simulator. Both have same issue. I need to solve this problem asap. Attached sample taken from my iPod 6.1 Thanks
  3. Ritu Agrawal 2013-12-26

    Karan - We need a test case to reproduce this issue. We cannot troubleshoot your issue quickly based on the attached image.
  4. Karan Thakkar 2013-12-26

    Okay no problem Ritu But please check it. I used NavigationWindow for navigation. Thanks
  5. Mostafizur Rahman 2013-12-26

    We tested this issue with the code below. We were unable to reproduces this issue with our sample test case. It’s working perfect. Please check the attached screenshot. If the issue persists, please give us your sample test case to evaluate further.

    Test Environment:

    Mac OSX Version 10.8.5, Titanium SDK 3.2.0.GA, IOS -Simulator iOS 6, 7.0.3 Ti CLI 3.2.0, H5. Test Code
    var win2 = Titanium.UI.createWindow({
       	backgroundColor : 'red',
       	title : 'Red Window',
       	extendEdges : [Ti.UI.EXTEND_EDGE_TOP]
       var button = Titanium.UI.createButton({
       	title : 'Open Blue Window'
       button.addEventListener('click', function() {
       	win1.openWindow(win3, {
       		animated : true
       var win1 = Titanium.UI.iOS.createNavigationWindow({
       	window : win2
       var win3 = Titanium.UI.createWindow({
       	backgroundColor : 'blue',
       	title : 'Blue Window'
       var button2 = Titanium.UI.createButton({
       	title : 'Close '
       button2.addEventListener('click', function() {
       	win1.closeWindow(win3, {
       		animated : true
       	//win3.close() will also work!!

    Step to Test

    Create a simple test project

    Update app.js file

    Run on IOS simulator 6 and 7

    On iOS Simulator 6 its working well (not stretch)

  6. Karan Thakkar 2014-01-02

    Thanks for your help. Yes its working in my code. Problem was i am using barImage and image size should be around 75 width. So it looks stretched. My problem solved now. Thank you very much for your quick support.
  7. Ritu Agrawal 2014-01-02

    I am glad things worked for you. Closing the ticket.

JSON Source