I have this simple code:
var win = Ti.UI.createWindow({
title: 'aaa',
width: '100%',
height: '100%',
backgroundColor: '#eff2d8'
});
win.orientationModes = [Ti.UI.PORTRAIT];
win.open();
After the command Win.open I got this error:
SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
Can anyone help me ?