Skip to content

View self scaling function

XiongFangyu edited this page Nov 25, 2020 · 1 revision

简介

设置缩放手势回调,当设置后,视图会处理两指缩放手势,并在缩放时回调

  • @param callback function 回调格式:
function(focusX,focusY,span,spanX,spanY,scaleFactor) 
end 
Clone this wiki locally