Titanium 在iPad、Tianium SDK 6.0.0及更高版本上更改方向时,摄像头覆盖不会填满整个屏幕

Titanium 在iPad、Tianium SDK 6.0.0及更高版本上更改方向时,摄像头覆盖不会填满整个屏幕,titanium,appcelerator,appcelerator-titanium,Titanium,Appcelerator,Appcelerator Titanium,我正在开发一款钛合金应用程序,在将钛合金SDK升级到6.0.0及更高版本后,我在iPad上遇到了一个问题 我正在为相机使用覆盖,但当我更改方向时,覆盖也会旋转,但不会填充整个屏幕,看起来覆盖在旋转之前保持宽度和高度 var overlay = Ti.UI.createView({ width : Ti.UI.FILL, height : Ti.UI.FILL, }); var buttonHolder = Ti.UI.createView

我正在开发一款钛合金应用程序,在将钛合金SDK升级到6.0.0及更高版本后,我在iPad上遇到了一个问题

我正在为相机使用覆盖,但当我更改方向时,覆盖也会旋转,但不会填充整个屏幕,看起来覆盖在旋转之前保持宽度和高度

    var overlay = Ti.UI.createView({
        width : Ti.UI.FILL,
        height : Ti.UI.FILL,
    });

    var buttonHolder = Ti.UI.createView({
        width : Ti.UI.FILL,
        height : 70,
        backgroundColor : 'black',
        opacity : 0.5,
        bottom : 0
    });

    var bCancel = Ti.UI.createButton({
        width : 70,
        height : Ti.UI.FILL,
        color : 'white',
        title : "Cancel",
        textAlign : 'left',
        backgroundColor : undefined,
        left : 0
    });

    var bTakePicture = Ti.UI.createImageView({
        width : Ti.UI.SIZE,
        height : Ti.UI.SIZE,
        image : 'image.png',
    });

    var bDone = Ti.UI.createButton({
        width : 70,
        height : Ti.UI.FILL,
        color : 'white',
        title : "Done",
        textAlign : 'left',
        right : 0,
        backgroundColor : undefined
    });

    buttonHolder.add(bCancel);
    buttonHolder.add(bTakePicture);
    buttonHolder.add(bDone);

    overlay.add(buttonHolder);

    Titanium.Media.showCamera({
        overlay : overlay,
        showControls : false,

        success : function(event) {
        },
        cancel : function() {
        },
        error : function(error) {
        },
        allowImageEditing : false,
        saveToPhotoGallery : false
    });
当方向改变时,我试图改变宽度和高度,但没有成功

这在5.5.1SDK上运行良好

有人能帮帮我吗,我做错什么了吗,6.0.0SDK中是否有与此相关的更改

谢谢

我附上屏幕截图显示问题,黄色是覆盖


我也有这个问题,还没有找到解决方案或解决方法…我也有这个问题,还没有找到解决方案或解决方法。。。