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

7 条评论

  1. buzmvbeqzr
    2025-01-06 14:19
    回复

    哈哈哈,写的太好了https://www.lawjida.com/

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

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

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

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

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

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

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

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

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

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

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

    叼茂SEO.bfbikes.com

添加新评论