美文网首页
iOS for循环记录UIButton选中状态

iOS for循环记录UIButton选中状态

作者: New_卡迪熊 | 来源:发表于2021-09-18 16:15 被阅读0次

    1.在按钮的点击事件保存button的title


    WechatIMG196.png

    2.然后在加载多个按钮的事件比较title的值

    image.png

    相关文章

      网友评论

          本文标题:iOS for循环记录UIButton选中状态

          本文链接:https://www.haomeiwen.com/subject/vyhygltx.html