How to query the child views of a parent view using Titanium?

前端 未结 2 1041
遇见更好的自我
遇见更好的自我 2021-01-18 14:40

I am looking to create a general purpose routine that will operate over a view\'s children. Within the routine I need to be able to iterate over the child views. I don\'t

2条回答
  •  情话喂你
    2021-01-18 15:17

    i would check also for

    if (view.children[c] !== undefined) {..}
    

    since i already got problems with android without verifieing.

提交回复
热议问题