Void in     print("password" + password)    })    payAlert.show()"/>

仿微信的6位数字支付密码弹框——Swift版

加入收藏
已有 6 人收藏

介绍:
    使用方法

    let payAlert = DCPayAlertView(frame: CGRectZero)

    payAlert.setTitle("请输入支付密码")

    payAlert.setDetail("提现")

    payAlert.setAmount(10)

    payAlert.completeBlock = ({(password: String) -> Void in

     print("password" + password)

    })

    payAlert.show()

测试环境:
  [Code4App]编译测试
效果图:
  • iOS / iPhone 使用方法<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;let payAlert = DCPayAlertView(frame: CGRectZero)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;payAlert.setTitle("请输入支付密码")<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;payAlert.setDetail("提现")<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;payAlert.setAmount(10)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;payAlert.completeBlock = ({(password: String) -> Void in<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;        print("password" + password)<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;})<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;payAlert.show()
代码评论:
登录后方可评论

  
  • 暂无评论