久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    • <bdo id='HFrlI'></bdo><ul id='HFrlI'></ul>
  • <i id='HFrlI'><tr id='HFrlI'><dt id='HFrlI'><q id='HFrlI'><span id='HFrlI'><b id='HFrlI'><form id='HFrlI'><ins id='HFrlI'></ins><ul id='HFrlI'></ul><sub id='HFrlI'></sub></form><legend id='HFrlI'></legend><bdo id='HFrlI'><pre id='HFrlI'><center id='HFrlI'></center></pre></bdo></b><th id='HFrlI'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='HFrlI'><tfoot id='HFrlI'></tfoot><dl id='HFrlI'><fieldset id='HFrlI'></fieldset></dl></div>
    1. <legend id='HFrlI'><style id='HFrlI'><dir id='HFrlI'><q id='HFrlI'></q></dir></style></legend>

      <small id='HFrlI'></small><noframes id='HFrlI'>

    2. <tfoot id='HFrlI'></tfoot>

        將 UIPopoverController 呈現(xiàn)在相同位置,僅更改箭頭

        Present UIPopoverController in same position with changing just arrow offset(將 UIPopoverController 呈現(xiàn)在相同位置,僅更改箭頭偏移量)
          1. <tfoot id='AI5Jt'></tfoot>

              <legend id='AI5Jt'><style id='AI5Jt'><dir id='AI5Jt'><q id='AI5Jt'></q></dir></style></legend>

              • <bdo id='AI5Jt'></bdo><ul id='AI5Jt'></ul>
                    <tbody id='AI5Jt'></tbody>
                  <i id='AI5Jt'><tr id='AI5Jt'><dt id='AI5Jt'><q id='AI5Jt'><span id='AI5Jt'><b id='AI5Jt'><form id='AI5Jt'><ins id='AI5Jt'></ins><ul id='AI5Jt'></ul><sub id='AI5Jt'></sub></form><legend id='AI5Jt'></legend><bdo id='AI5Jt'><pre id='AI5Jt'><center id='AI5Jt'></center></pre></bdo></b><th id='AI5Jt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='AI5Jt'><tfoot id='AI5Jt'></tfoot><dl id='AI5Jt'><fieldset id='AI5Jt'></fieldset></dl></div>

                  <small id='AI5Jt'></small><noframes id='AI5Jt'>

                  本文介紹了將 UIPopoverController 呈現(xiàn)在相同位置,僅更改箭頭偏移量的處理方法,對(duì)大家解決問題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時(shí)送ChatGPT賬號(hào)..

                  我的目標(biāo)是保持 UIPopoverController 的坐標(biāo)相同,只需更改箭頭偏移量.所以基本上我有三個(gè)按鈕觸摸它們中的每一個(gè)都會(huì)顯示一個(gè)彈出窗口.呈現(xiàn)此彈出框時(shí),它會(huì)更改屏幕上的位置,但我不希望那樣.為了更清楚地查看屏幕截圖:

                  My goal is to keep same coordinates for a UIPopoverController with just changing arrow offset. So basically i have three buttons touching each of them shows up a popover. When presenting this popover it changes position on the screen, but i do not want that. To be more clear look at screenoshots:

                  推薦答案

                  對(duì)于我的彈出框,我希望箭頭位于左上角而不是頂部居中(這是默認(rèn)設(shè)置).

                  For my popover I wanted the arrow to be top-left instead of top-center (which is default).

                  通過設(shè)置 UIPopoverController 的 popoverLayoutMargins 屬性,我設(shè)法得到了下面的結(jié)果(屏幕截圖).您可以使用它來減少 UIPopoverController 內(nèi)部計(jì)算中使用的屏幕區(qū)域,以確定在何處顯示彈出框.

                  I've managed to get the result below (screenshot) by setting the popoverLayoutMargins property of the UIPopoverController. You can use it to reduce the screen-area used in the internal calculations of the UIPopoverController to determine where to show the popover.

                  代碼:

                  // Get the location and size of the control (button that says "Drinks")
                  CGRect rect = control.frame;
                  
                  // Set the width to 1, this will put the anchorpoint on the left side
                  // of the control
                  rect.size.width = 1;
                  
                  // Reduce the available screen for the popover by creating a left margin
                  // The popover controller will assume that left side of the screen starts
                  // at rect.origin.x
                  popoverC.popoverLayoutMargins = UIEdgeInsetsMake(0, rect.origin.x, 0, 0);
                  
                  // Simply present the popover (force arrow direction up)
                  [popoverC presentPopoverFromRect:rect inView:self.view permittedArrowDirections:UIPopoverArrowDirectionUp animated:YES];
                  

                  我認(rèn)為您可以通過調(diào)整上述內(nèi)容來獲得所需的結(jié)果.

                  I think you'll be able to get the desired result by tweaking the above.

                  這篇關(guān)于將 UIPopoverController 呈現(xiàn)在相同位置,僅更改箭頭偏移量的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內(nèi)容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內(nèi)容侵犯了您的權(quán)益,請(qǐng)聯(lián)系我們刪除處理,感謝您的支持!

                  相關(guān)文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點(diǎn)擊動(dòng)畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報(bào))
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標(biāo)已經(jīng)包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進(jìn)度圖像(iOS 5 屬性))

                    <i id='4ITP4'><tr id='4ITP4'><dt id='4ITP4'><q id='4ITP4'><span id='4ITP4'><b id='4ITP4'><form id='4ITP4'><ins id='4ITP4'></ins><ul id='4ITP4'></ul><sub id='4ITP4'></sub></form><legend id='4ITP4'></legend><bdo id='4ITP4'><pre id='4ITP4'><center id='4ITP4'></center></pre></bdo></b><th id='4ITP4'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='4ITP4'><tfoot id='4ITP4'></tfoot><dl id='4ITP4'><fieldset id='4ITP4'></fieldset></dl></div>

                    <small id='4ITP4'></small><noframes id='4ITP4'>

                    <tfoot id='4ITP4'></tfoot><legend id='4ITP4'><style id='4ITP4'><dir id='4ITP4'><q id='4ITP4'></q></dir></style></legend>
                      <bdo id='4ITP4'></bdo><ul id='4ITP4'></ul>
                            <tbody id='4ITP4'></tbody>
                            主站蜘蛛池模板: 久久久国产精品一区 | 亚洲日韩中文字幕一区 | 一区二区三区久久久 | 在线视频三区 | 国产精品美女久久久久aⅴ国产馆 | 国产一级免费视频 | 一区二区三区欧美 | 国产一区欧美 | 91免费看片 | 欧美一级免费看 | 国产日韩欧美在线 | 久久亚洲春色中文字幕久久久 | 久久综合九色综合欧美狠狠 | 91麻豆精品国产91久久久更新资源速度超快 | www.日韩| 中文字幕在线中文 | 国产欧美日韩一区 | 夜夜摸夜夜操 | 一区亚洲 | 日韩在线成人 | 久久精品亚洲精品国产欧美kt∨ | 第一色在线 | 欧美一级片黄色 | 激情一区二区三区 | 欧美日韩在线一区二区 | 久久人爽爽人爽爽 | 一级片视频免费观看 | 美女视频一区二区三区 | 亚洲电影第1页 | 欧美一区成人 | 国产一区二区 | 日韩国产欧美在线观看 | 亚洲一二三区精品 | 国产精品不卡 | 九九在线精品视频 | 久久精品国产一区二区电影 | 精品一区二区三区四区视频 | 日韩久久久久久久久久久 | 久久天堂 | 久久免费精品视频 | 国产一区二区欧美 |