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

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

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

    1. 在大型 UIScrollView 中直觀地排列子視圖

      Visually arrange subviews in a large UIScrollView(在大型 UIScrollView 中直觀地排列子視圖)
    2. <tfoot id='gqwOV'></tfoot>

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

          <bdo id='gqwOV'></bdo><ul id='gqwOV'></ul>

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

                <legend id='gqwOV'><style id='gqwOV'><dir id='gqwOV'><q id='gqwOV'></q></dir></style></legend>
                  <tbody id='gqwOV'></tbody>
              • 本文介紹了在大型 UIScrollView 中直觀地排列子視圖的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                我的應用程序中的一個屏幕必須是可垂直滾動的.它的內容或多或少是靜態的,但它不適合手機的屏幕(因此是滾動視圖).我使用 UIScrollController 作為頂視圖,我想使用 Xcode 中的情節提要編輯器來布置其中的所有視圖.我可以這樣做嗎?我顯然可以在 UIScrollController 的可見部分放置東西,但是我可以在視覺上將更多視圖放在首屏"嗎?

                One of the screens in my app has to be vertically scrollable. Its contents is more or less static, but it doesn't fit on the phone's screen (hence the scroll view). I'm using a UIScrollController as a top view, and I'd like to use the storyboard editor in Xcode to lay out all the views in it. Can I do that? I can obviously drop things on the visible part of my UIScrollController, but can I put more views "below the fold" visually?

                推薦答案

                還有另一種方法可以做到這一點,它與上面評論中鏈接中給出的答案不同,我認為這更容易,因為它可以讓你看到你的以全尺寸查看整個內容并在 Storyboard 中進行設計.

                There is another way to do it that is different from the answers given in the link in the comment above which I believe is easier because it allows you to see your whole content view at full size and design it in Storyboard.

                • 1) 放置一個 UIScrollView 作為控制器的根視圖.
                • 2) 點擊故事板中的 View Controller 并轉到屬性檢查器并將大小更改為自由格式
                • 3) 單擊故事板中的滾動視圖并轉到大小檢查并更改寬度和高度到你需要的一樣大.(2,000 x 4,000)
                • 4) 將 UIView 作為滾動視圖的子視圖,這將是您的內容視圖您將在其中設計屏幕并將所有子視圖.不要忘記將滾動視圖的 contentSize 設置為viewDidLoad 中此視圖的大小.
                • 5) 點擊#4 中的 UIView 并在 Size Inspector 中設置 Struts 和 Springs此視圖未調整大小 .
                • 6) 設計屏幕的其余部分

                訣竅在于#3 &#5 將滾動視圖的大小設置為非常大,以便您進行設計.當這個 viewController 被加載到 iPhone 中時,Struts &Springs 會將 scrollView 的大小調整為 iPhone 屏幕的大小,但 contentView 會保持較大.

                The trick is in #3 & #5 setting the size of the scrollView to really large so you can design. When this viewController is loaded into the iPhone the Struts & Springs will resize the scrollView to the size of the iPhone screen, but the contentView will stay large.

                這篇關于在大型 UIScrollView 中直觀地排列子視圖的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持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 屬性))
                • <legend id='phgUH'><style id='phgUH'><dir id='phgUH'><q id='phgUH'></q></dir></style></legend>
                  • <bdo id='phgUH'></bdo><ul id='phgUH'></ul>

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

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

                          主站蜘蛛池模板: 国产精品久久久久久久久久久久久 | 第四色播日韩第一页 | 51ⅴ精品国产91久久久久久 | 韩日一区| 国产精品女人久久久 | 国产精品久久久久久吹潮 | 久久久久久久久久久久久九 | 日本一区二区高清不卡 | 国产高清在线精品一区二区三区 | 国产成年人小视频 | 嫩草视频在线免费观看 | 一区二区欧美在线 | 日韩欧美手机在线 | 日日日色| 欧美成年黄网站色视频 | 操操操av | 久在线观看| 国产成人久久av免费高清密臂 | 久久久高清 | 蜜月aⅴ国产精品 | 日本在线网址 | 看av在线 | 日日操夜夜摸 | 中文区中文字幕免费看 | 97人人澡人人爽91综合色 | 国产一区三区在线 | 亚洲一区二区三区在线免费观看 | 日日摸天天添天天添破 | 噜噜噜噜狠狠狠7777视频 | 国产精品久久久久久久免费大片 | 欧美极品在线观看 | 激情欧美日韩一区二区 | 精品久久久精品 | 欧美黄色一区 | 成人三级在线观看 | 精精久久| 欧美一级片免费看 | 四虎最新地址 | 秋霞电影院午夜伦 | 国产清纯白嫩初高生在线播放视频 | 日韩精品久久一区 |