[TIMOB-28543] iOS: selectedBackgroundGradient deprecation warning is logged even when not using it
| GitHub Issue | n/a | 
|---|---|
| Type | Bug | 
| Priority | Medium | 
| Status | Closed | 
| Resolution | Fixed | 
| Resolution Date | 2021-10-06T09:41:37.000+0000 | 
| Affected Version/s | Release 10.1.0, Release 10.0.2 | 
| Fix Version/s | Release 10.2.0 | 
| Components | iOS | 
| Labels | n/a | 
| Reporter | Ewan Harris | 
| Assignee | Ewan Harris | 
| Created | 2021-10-01T10:08:47.000+0000 | 
| Updated | 2021-10-06T09:41:37.000+0000 | 
Description
Description
When creating TableViewRow on iOS and specifyingbackgroundImage and warning is logged for selectedBackgroundGradient
const win = Ti.UI.createWindow();
const row = Ti.UI.createTableViewRow({ backgroundImage: 'doesnt-need-to-exist.png' });
win.add(Ti.UI.createTableView({ data: [ row ] }));
win.open();
Steps to reproduce
1. Add the code above to an existing app.js 2. Build for iosActual
Warning log statingselectedBackgroundGradient is deprecated
Community PR: https://github.com/appcelerator/titanium_mobile/pull/13092