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="pl777jr" 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="hp7ln7h" 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)在相同位置,僅更改箭頭偏移量的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)吧!

                  問題描述

                  限時送ChatGPT賬號..

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

                  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:

                  推薦答案

                  對于我的彈出框,我希望箭頭位于左上角而不是頂部居中(這是默認設(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)部計算中使用的屏幕區(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];
                  

                  我認為您可以通過調(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)在相同位置,僅更改箭頭偏移量的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                  相關(guān)文檔推薦

                  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(圖標(biāo)已經(jīng)包含光澤效果)
                  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="zxfpbpf" 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>
                            主站蜘蛛池模板: 结晶点测定仪-润滑脂滴点测定仪-大连煜烁 | 济南网站策划设计_自适应网站制作_H5企业网站搭建_济南外贸网站制作公司_锐尚 | 新型锤式破碎机_新型圆锥式_新型颚式破碎机_反击式打沙机_锤式制砂机_青州建源机械 | IWIS链条代理-ALPS耦合透镜-硅烷预处理剂-上海顶楚电子有限公司 lcd条形屏-液晶长条屏-户外广告屏-条形智能显示屏-深圳市条形智能电子有限公司 | 大型果蔬切片机-水果冬瓜削皮机-洗菜机切菜机-肇庆市凤翔餐饮设备有限公司 | 乐泰胶水_loctite_乐泰胶_汉高乐泰授权(中国)总代理-鑫华良供应链 | 青岛侦探_青岛侦探事务所_青岛劝退小三_青岛调查出轨取证公司_青岛婚外情取证-青岛探真调查事务所 | 德国EA可编程直流电源_电子负载,中国台湾固纬直流电源_交流电源-苏州展文电子科技有限公司 | 湖南档案密集架,智能,物证,移动,价格-湖南档案密集架厂家 | 酒糟烘干机-豆渣烘干机-薯渣烘干机-糟渣烘干设备厂家-焦作市真节能环保设备科技有限公司 | 起好名字_取个好名字_好名网免费取好名在线打分 | 智能门锁电机_智能门锁离合器_智能门锁电机厂家-温州劲力智能科技有限公司 | EDLC超级法拉电容器_LIC锂离子超级电容_超级电容模组_软包单体电容电池_轴向薄膜电力电容器_深圳佳名兴电容有限公司_JMX专注中高端品牌电容生产厂家 | 大通天成企业资质代办_承装修试电力设施许可证_增值电信业务经营许可证_无人机运营合格证_广播电视节目制作许可证 | 自动记录数据电子台秤,记忆储存重量电子桌称,设定时间记录电子秤-昆山巨天 | 右手官网|右手工业设计|外观设计公司|工业设计公司|产品创新设计|医疗产品结构设计|EMC产品结构设计 | 广东风淋室_广东风淋室厂家_广东风淋室价格_广州开源_传递窗_FFU-广州开源净化科技有限公司 | 德州万泰装饰 - 万泰装饰装修设计软装家居馆 | 网站建设,北京网站建设,北京网站建设公司,网站系统开发,北京网站制作公司,响应式网站,做网站公司,海淀做网站,朝阳做网站,昌平做网站,建站公司 | 海外仓系统|国际货代系统|退货换标系统|WMS仓储系统|海豚云 | 济南铝方通-济南铝方通价格-济南方通厂家-山东鲁方通建材有限公司 | 协议书_协议合同格式模板范本大全 | 微型气象仪_气象传感器_防爆气象传感器-天合传感器大全 | 知企服务-企业综合服务(ZiKeys.com)-品优低价、种类齐全、过程管理透明、速度快捷高效、放心服务,知企专家! | 杭州代理记账多少钱-注册公司代办-公司注销流程及费用-杭州福道财务管理咨询有限公司 | 成都顶呱呱信息技术有限公司-贷款_个人贷款_银行贷款在线申请 - 成都贷款公司 | 网站优化公司_北京网站优化_抖音短视频代运营_抖音关键词seo优化排名-通则达网络 | 砍排机-锯骨机-冻肉切丁机-熟肉切片机-预制菜生产线一站式服务厂商 - 广州市祥九瑞盈机械设备有限公司 | DAIKIN电磁阀-意大利ATOS电磁阀-上海乾拓贸易有限公司 | YJLV22铝芯铠装电缆-MYPTJ矿用高压橡套电缆-天津市电缆总厂 | 扒渣机,铁水扒渣机,钢水扒渣机,铁水捞渣机,钢水捞渣机-烟台盛利达工程技术有限公司 | 山西3A认证|太原AAA信用认证|投标AAA信用证书-山西AAA企业信用评级网 | 安全阀_弹簧式安全阀_美标安全阀_工业冷冻安全阀厂家-中国·阿司米阀门有限公司 | 深圳网站建设-高端企业网站开发-定制网页设计制作公司 | 微动开关厂家-东莞市德沃电子科技有限公司 | bng防爆挠性连接管-定做金属防爆挠性管-依客思防爆科技 | 环氧乙烷灭菌器_压力蒸汽灭菌器_低温等离子过氧化氢灭菌器 _低温蒸汽甲醛灭菌器_清洗工作站_医用干燥柜_灭菌耗材-环氧乙烷灭菌器_脉动真空压力蒸汽灭菌器_低温等离子灭菌设备_河南省三强医疗器械有限责任公司 | 扬尘监测_扬尘监测系统_带证扬尘监测设备 - 郑州港迪科技有限公司 | 十字轴_十字轴万向节_十字轴总成-南京万传机械有限公司 | 【化妆品备案】进口化妆品备案流程-深圳美尚美化妆品有限公司 | 蜂窝块状沸石分子筛-吸附脱硫分子筛-萍乡市捷龙环保科技有限公司 |