zhiliang729

zhiliang729

关注

0 粉丝,0 关注,5 积分

zhiliang729 于 3 个月前加入swiftmi


zhiliang729最近创建的主题


zhiliang729 最近回复了


回复了 tangyunfei 创建的主题: swift3 selector传递参数问题 3 个月前

var index = 12 let pan = #selector(delimg( index : ) ) let guest = UITapGestureRecognizer(target: self, action: pan)

func delimg(index : Int){ print("(index)") }

let pan = #selector(delimg( index : ) ) 不能加self.