Swift UIKit 组件-UILabel(标签)
预览:
import UIKit
class ViewController: UIViewController {
override func viewDidLoad() {
super.viewDidLoad()
let MyLabel = UILabel()
MyLabel.text = "UILabel(标签)"
MyLabel.frame = CGRect(x: 200, y: 100, width: 60, height: 30)
view.addSubview(MyLabel)
// Do any additional setup after loading the view.
}
}
想想你的文章写的特别好https://www.ea55.com/
看的我热血沸腾啊https://www.237fa.com/
怎么收藏这篇文章?
不错不错,我喜欢看 https://www.jiwenlaw.com/
博主真是太厉害了!!!