首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
forcontrolevents专题
iphonewax下用lua代码addTarget_action_forControlEvents给UIButton添加事件程序crash解决办法
创建button代码的地方要初始化button的类型 如下: local play = UIButton:buttonWithType(UIButtonTypeCustom)play:setFrame(CGRect(p[1], p[2], size.width, size.height))play:setBackgroundImage_forState(imgplay, 0)play
阅读更多...