预览:

Swift-UIKit(UILabel).png

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.
    }
}

SwiftUIKitiOSUILabel

5 条评论

  1. frassfzngu
    2024-10-04 21:39
    回复

    想想你的文章写的特别好https://www.ea55.com/

  2. dncwwexrgw
    2024-10-01 21:10
    回复

    看的我热血沸腾啊https://www.237fa.com/

  3. wsjkxxxkyy
    2024-09-27 13:09
    回复

    怎么收藏这篇文章?

  4. ybgtlwfdho
    2024-09-23 09:27
    回复

    不错不错,我喜欢看 https://www.jiwenlaw.com/

  5. hwilcywdby
    2024-09-22 18:50
    回复

    博主真是太厉害了!!!

添加新评论