<ruby id="bdb3f"></ruby>

    <p id="bdb3f"><cite id="bdb3f"></cite></p>

      <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
        <p id="bdb3f"><cite id="bdb3f"></cite></p>

          <pre id="bdb3f"></pre>
          <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

          <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
          <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

          <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                <ruby id="bdb3f"></ruby>

                ThinkChat2.0新版上線,更智能更精彩,支持會話、畫圖、視頻、閱讀、搜索等,送10W Token,即刻開啟你的AI之旅 廣告
                ## UILable 文本顯示控件 **UILabel 控件**是最基礎的顯示控件。常見的 label 文本屬性控制有: `text` 、`font` 、`textColor`、`backgroundColor` 、`textAlignment` 、`shadowOffset` 、`shadowColor` 、`numberOfLines` 等。使用如下: ``` // 初始化定義 Label 常量,并設置這個label的x、y坐標以及長寬等參數值 let label: UILabel = UILabel(frame: CGRect(x: 20, y: 100, width: 300, height: 100 )) // 設置 Label 上的文字 label.text = "Hello Swift, This is a Label Study Lession" // 設置字體大小 label.font = UIFont.boldSystemFont(ofSize: 20) // label.font = UIFont.systemFont(ofSize: 20.0) // 設置字體顏色 (紅色) label.textColor = UIColor.red // // UIColor(red: <#T##CGFloat#>, green: <#T##CGFloat#>, blue: <#T##CGFloat#>, alpha: <#T##CGFloat#>) // 設置背景色 label.backgroundColor = UIColor.gray // 設置文字對齊方式 (left , center , right) label.textAlignment = NSTextAlignment.center // 設置陰影 label.shadowOffset = CGSize(width: 2, height: 3) // 陰影的偏移量 label.shadowColor = UIColor.orange // 設置label 的顯示行數 0 為無限行 label.numberOfLines = 0 // 將 Label 放置到視圖 self.view.addSubview(label) ```
                  <ruby id="bdb3f"></ruby>

                  <p id="bdb3f"><cite id="bdb3f"></cite></p>

                    <p id="bdb3f"><cite id="bdb3f"><th id="bdb3f"></th></cite></p><p id="bdb3f"></p>
                      <p id="bdb3f"><cite id="bdb3f"></cite></p>

                        <pre id="bdb3f"></pre>
                        <pre id="bdb3f"><del id="bdb3f"><thead id="bdb3f"></thead></del></pre>

                        <ruby id="bdb3f"><mark id="bdb3f"></mark></ruby><ruby id="bdb3f"></ruby>
                        <pre id="bdb3f"><pre id="bdb3f"><mark id="bdb3f"></mark></pre></pre><output id="bdb3f"></output><p id="bdb3f"></p><p id="bdb3f"></p>

                        <pre id="bdb3f"><del id="bdb3f"><progress id="bdb3f"></progress></del></pre>

                              <ruby id="bdb3f"></ruby>

                              哎呀哎呀视频在线观看