sen*_*hil 6 iphone events transfer ios titanium-mobile
我是Titanium Studio的移动开发新手.我想知道是否可以将事件传输到视图的父视图.
例如,假设我有一个imageview即imgVw添加在视图的顶部,即parentView,我想将imgVw的触摸事件传递给parentView.如果可能,请告诉我.提前致谢.
sur*_*h.g 8
请试试这个:
一种简单的技术是将子视图的touchEnabled属性设置为false,将事件传递给父视图.希望能帮助到你.
归档时间:
13 年,2 月 前
查看次数:
2049 次
最近记录:
13 年,1 月 前