[TIMOB-10810] iOS: Setting label with empty string causes seg fault with iOS 6
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2012-09-14T17:14:58.000+0000 |
Affected Version/s | Release 3.0.0 |
Fix Version/s | Release 2.1.3, Release 3.0.0, Sprint 2012-18 API, 2012 Sprint 18 |
Components | iOS |
Labels | api, qe-testadded |
Reporter | Jason Sznol |
Assignee | Sabil Rahim |
Created | 2012-08-20T08:15:47.000+0000 |
Updated | 2012-09-21T10:04:14.000+0000 |
Description
When setting a Ti.UI.Label text as an empty string ('' or "") and adding it to a view on iOS 6, the app crashes with a seg fault. This works on iOS 5.
Sample code:
var win = Ti.UI.createWindow();
var label = Ti.UI.createLabel({
text: ''
});
win.add(label);
win.show();
Hi Jason, ios 6 is not yet officially supported by Titanium. It will be in 2.1.3 GA release. Please test this on 2.1.3 and let us know if there is any issue. Regards, Anirudh
https://github.com/appcelerator/titanium_mobile/pull/2846 BY COMMUNITY PR
Backport PR https://github.com/appcelerator/titanium_mobile/pull/2940
Closing bug. Verified and tested on: OS: Mac OS X Lion 10.7.4 Titanium Studio, build: 2.1.2.201208301612 Titanium SDK, build: 2.1.3.v20120913140112 xCode 4.5 GM seed iPod version 6.0 GM seed
Reopening to edit labels