走兩遍apple有表單解釋`Yes, it’s normal. The system may tweak the point being hit tested between the calls. Since hitTest should be a pure function with no side-effects, this should be fine.`
iOS之hitTest前言 我負(fù)責(zé)努力,其余交給運(yùn)氣。 寫(xiě)這篇文章娜汁,是因?yàn)橹皩?xiě)了一篇如何解決button點(diǎn)擊范圍過(guò)小的文章委乌,然后評(píng)論區(qū)小伙伴說(shuō)hitTest也可以司草,然后我就查了一下hitTest...