pbootcms网站模板|日韩1区2区|织梦模板||网站源码|日韩1区2区|jquery建站特效-html5模板网

    • <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="5hxn5b7" 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 呈現在相同位置,僅更改箭頭

        Present UIPopoverController in same position with changing just arrow offset(將 UIPopoverController 呈現在相同位置,僅更改箭頭偏移量)
          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="7pxf5hf" id='AI5Jt'><tfoot id='AI5Jt'></tfoot><dl id='AI5Jt'><fieldset id='AI5Jt'></fieldset></dl></div>

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

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

                  問題描述

                  限時送ChatGPT賬號..

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

                  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:

                  推薦答案

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

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

                  通過設置 UIPopoverController 的 popoverLayoutMargins 屬性,我設法得到了下面的結果(屏幕截圖).您可以使用它來減少 UIPopoverController 內部計算中使用的屏幕區(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];
                  

                  我認為您可以通過調整上述內容來獲得所需的結果.

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

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

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

                  相關文檔推薦

                  How to animate a UIImageview to display fullscreen by tapping on it?(如何通過點擊動畫 UIImageview 以顯示全屏?)
                  To stop segue and show alert(停止 segue 并顯示警報)
                  iOS 5 storyboard, programmatically determine path(iOS 5 故事板,以編程方式確定路徑)
                  Icon already includes gloss effects(圖標已經包含光澤效果)
                  How does UIEdgeInsetsMake work?(UIEdgeInsetsMake 是如何工作的?)
                  UIProgressView and Custom Track and Progress Images (iOS 5 properties)(UIProgressView 和自定義跟蹤和進度圖像(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="d7nrbrf" 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>
                            主站蜘蛛池模板: 万烁建筑设计院-建筑设计公司加盟,设计院加盟分公司,市政设计加盟 | 丙烷/液氧/液氮气化器,丙烷/液氧/液氮汽化器-无锡舍勒能源科技有限公司 | 走心机厂家,数控走心机-台州博城智能科技有限公司 | 北京租车公司_汽车/客车/班车/大巴车租赁_商务会议/展会用车/旅游大巴出租_北京桐顺创业租车公司 | 阀门智能定位器_电液动执行器_气动执行机构-赫尔法流体技术(北京)有限公司 | 半自动预灌装机,卡式瓶灌装机,注射器灌装机,给药器灌装机,大输液灌装机,西林瓶灌装机-长沙一星制药机械有限公司 | 长沙印刷厂-包装印刷-画册印刷厂家-湖南省日大彩色印务有限公司 青州搬家公司电话_青州搬家公司哪家好「鸿喜」青州搬家 | 蜘蛛车-高空作业平台-升降机-高空作业车租赁-臂式伸缩臂叉装车-登高车出租厂家 - 普雷斯特机械设备(北京)有限公司 | 六维力传感器_六分量力传感器_模腔压力传感器-南京数智微传感科技有限公司 | 罐体电伴热工程-消防管道电伴热带厂家-山东沃安电气 | 理化生实验室设备,吊装实验室设备,顶装实验室设备,实验室成套设备厂家,校园功能室设备,智慧书法教室方案 - 东莞市惠森教学设备有限公司 | 山东活动策划|济南活动公司|济南公关活动策划-济南锐嘉广告有限公司 | 深圳市人通智能科技有限公司 | 集菌仪_智能集菌仪_全封闭集菌仪_无菌检查集菌仪厂家-那艾 | 卫浴散热器,卫浴暖气片,卫生间背篓暖气片,华圣格浴室暖气片 | LNG鹤管_内浮盘价格,上装鹤管,装车撬厂家-连云港赛威特机械 | 永嘉县奥阳陶瓷阀门有限公司 | 开云(中国)Kaiyun·官方网站 - 登录入口 | 河南橡胶接头厂家,河南波纹补偿器厂家,河南可曲挠橡胶软连接,河南套筒补偿器厂家-河南正大阀门 | 软文发布-新闻发布推广平台-代写文章-网络广告营销-自助发稿公司媒介星 | 合肥白癜风医院_合肥治疗白癜风医院_合肥看白癜风医院哪家好_合肥华研白癜风医院 | 自动售货机_无人售货机_专业的自动售货机运营商_免费投放售货机-广州富宏主官网 | 郑州水质检测中心_井水检测_河南废气检测_河南中环嘉创检测 | 【中联邦】增稠剂_增稠粉_水性增稠剂_涂料增稠剂_工业增稠剂生产厂家 | 电表箱-浙江迈峰电力设备有限公司-电表箱专业制造商 | 聚氨酯复合板保温板厂家_廊坊华宇创新科技有限公司 | Magnescale探规,Magnescale磁栅尺,Magnescale传感器,Magnescale测厚仪,Mitutoyo光栅尺,笔式位移传感器-苏州连达精密量仪有限公司 | 奥因-光触媒除甲醛公司-除甲醛加盟公司十大品牌 | 氧化锆陶瓷_氧化锆陶瓷加工_氧化锆陶瓷生产厂家-康柏工业陶瓷有限公司 | 昊宇水工|河北昊宇水工机械工程有限公司 | 智能终端_RTU_dcm_北斗星空自动化科技 | 石牌坊价格石牌坊雕刻制作_石雕牌坊牌楼石栏杆厂家_山东嘉祥石雕有限公司 | 六维力传感器_六分量力传感器_模腔压力传感器-南京数智微传感科技有限公司 | 手持式线材张力计-套帽式风量罩-深圳市欧亚精密仪器有限公司 | 都江堰招聘网-都江堰人才网 都江堰人事人才网 都江堰人才招聘网 邢台人才网_邢台招聘网_邢台123招聘【智达人才网】 | 期货软件-专业期货分析软件下载-云智赢| 云阳人才网_云阳招聘网_云阳人才市场_云阳人事人才网_云阳人家招聘网_云阳最新招聘信息 | GAST/BRIWATEC/CINCINNATI/KARL-KLEIN/ZIEHL-ABEGG风机|亚喜科技 | 密封圈_泛塞封_格莱圈-[东莞市国昊密封圈科技有限公司]专注密封圈定制生产厂家 | 质检报告_CE认证_FCC认证_SRRC认证_PSE认证_第三方检测机构-深圳市环测威检测技术有限公司 | 警方提醒:赣州约炮论坛真的安全吗?2025年新手必看的网络交友防坑指南 |