swift 提示框

前端之家收集整理的这篇文章主要介绍了swift 提示框前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

  1. var alert = UIAlertView()
  2. alert.title = "Refresh?"
  3. alert.message = "All data[\(tvData.getData(indexPath) as String)] will be selected."
  4. alert.addButtonWithTitle("Cancel")
  5. alert.addButtonWithTitle("OK")
  6. alert.show()

猜你在找的Swift相关文章