Swift-UIKit(UITextView).png

import UIKit
class ViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()
        let MyTextView = UITextView()
        MyTextView.frame = CGRect(x: 135, y: 50, width: 160, height: 35)
        MyTextView.text = "TextView One\nTextView Two\nTextView Three\nTextView Four"
        MyTextView.textColor = .white
        MyTextView.backgroundColor = .tintColor
        view.addSubview(MyTextView)
        // Do any additional setup after loading the view.
    }
}

SwiftUIKitiOSUITextView

6 条评论

  1. pxmppcbzyk
    2024-12-14 22:19
    回复

    看到你的文章,我仿佛感受到了生活中的美好。 https://www.4006400989.com/qyvideo/72751.html

  2. hfhseedogh
    2024-10-29 13:42
    回复

    你的文章让我学到了很多知识,非常感谢。http://www.hblxzt.com

  3. bgohbwwdsm
    2024-10-06 19:33
    回复

    不错不错,我喜欢看 www.jiwenlaw.com

  4. zhicvvboua
    2024-10-01 21:10
    回复

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

  5. xrnbvvqqwr
    2024-09-23 09:27
    回复

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

  6. emvzybsrrs
    2024-09-23 04:35
    回复

    叼茂SEO.bfbikes.com

添加新评论