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

3 条评论

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

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

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

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

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

    叼茂SEO.bfbikes.com

添加新评论