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

                ??碼云GVP開源項目 12k star Uniapp+ElementUI 功能強大 支持多語言、二開方便! 廣告
                開發中,例如: nanshanImage.image=[UIImage imageNamed:@"index_pic.png"]; 在項目中還保存中index_pic@2x.png的圖片,此圖為了只適應960*640的分辨率手機 而index_pic.png是適應640*320的手機,但是在代碼中必須寫成[UIImage imageNamed:@"index_pic.png"];這樣系統自動會根據不同分辨率手機決定是否調用index_pic@2x.png還是index_pic.png,會自動根據分辨率來匹配用哪張圖。 可是如果寫成[UIImage imageNamed:@"index_pic@2x.png"];那么系統無法自動判斷,根據640*320分辨率來調用index_pic.png圖片,系統只會將index_pic@2x.png這一張圖當做某控件的圖片,不會自動尋找匹配。 因此,開發中[UIImage imageNamed:@"index_pic.png"];里面的圖片都是用小分辨率格式名的圖片,這樣會自動適應大分辨率圖片,直接調用。 注意:xib中選擇圖片做背景時,也是一樣的原理!也是選擇不帶@2x的,這樣會自帶根據分辨率匹配是否使用小圖還是@2x大圖!
                  <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>

                              哎呀哎呀视频在线观看