[TIMOB-163] How can I create multiple switches dynamically.
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Fixed |
| Resolution Date | 2011-04-17T01:52:11.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | n/a |
| Reporter | Atharva |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T02:24:33.000+0000 |
| Updated | 2011-04-17T01:52:11.000+0000 |
Description
How can I create multiple switches dynamically? And after clicking on switch I want both value and id of switch control.
var sw1 = Titanium.UI.createSwitch({id:'switch1', value:true});
please ask this question on support.appcelerator.net. thanks.