Commit 460d2d27 authored by Steven杜宇's avatar Steven杜宇

// 版本更新UI

parent 1b46d8c6
...@@ -153,7 +153,9 @@ class YHFindAppNewVersionView: UIView { ...@@ -153,7 +153,9 @@ class YHFindAppNewVersionView: UIView {
static func alertView(version:String?) -> YHFindAppNewVersionView { static func alertView(version:String?) -> YHFindAppNewVersionView {
let alertView = YHFindAppNewVersionView(frame:UIScreen.main.bounds) let alertView = YHFindAppNewVersionView(frame:UIScreen.main.bounds)
alertView.versionLabel.text = version if let version = version {
alertView.versionLabel.text = "V"+version
}
return alertView return alertView
} }
...@@ -224,7 +226,7 @@ class YHFindAppNewVersionView: UIView { ...@@ -224,7 +226,7 @@ class YHFindAppNewVersionView: UIView {
versionLabel.snp.makeConstraints { make in versionLabel.snp.makeConstraints { make in
make.left.equalTo(titleLabel) make.left.equalTo(titleLabel)
make.top.equalTo(titleLabel.snp.bottom).offset(6) make.top.equalTo(titleLabel.snp.bottom).offset(6)
make.width.equalTo(54) make.width.equalTo(58)
make.height.equalTo(22) make.height.equalTo(22)
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment