Changing layout on rotation with multiple views movingHow to change the name of an iOS app?How can I make a UITextField move up when the keyboard is present - on starting to edit?Passing Data between View ControllersiOS: Multi-line UILabel in Auto LayoutHow to use auto-layout to move other views when a view is hidden?Using Auto Layout in UITableView for dynamic cell layouts & variable row heightsiPad Landscape and Portrait different layouts with Size ClassUIImageView missing images in Launch Screen on deviceDifferent layout for landscape and portrait iPad with storyboardXCode: How to change layout of views between landscape and portrait mode

std::tuple sizeof, is it a missed optimization?

What would a biological creature need in order to see the future?

Are language and thought the same?

Why didn't Thatcher give Hong Kong to Taiwan?

Does immunity to damage from nonmagical attacks negate a rogue's Sneak Attack damage?

If p-value is exactly 1 (1.0000000), what are the confidence interval limits?

What is the difference between "wie" and "nach" in "Klingt wie/nach..."

How to anonymously report the Establishment Clause being broken?

'Hard work never hurt anyone' Why not 'hurts'?

What is the significance of 104% for throttle power and rotor speed?

Is mathematics truth?

Finder/Terminal: Find files that contain less than 21 lines of text

Why don't they build airplanes from 3D printer plastic?

How to move UVs by a set amount of pixels?

Has Rey's new lightsaber been seen before in canon or legends?

One hour 10 min layover in Newark; International -> Domestic connection. Enough time to clear customs?

How does speed affect lift?

Would you recommend a keyboard for beginners with or without lights in keys for learning?

Main differences between 5th edition Druid and 3.5 edition Druid

What drugs were used in England during the High Middle Ages?

Question about derivation of kinematics equations

co-son-in-law or co-brother

How to describe hit point damage without talking about wounds

What does "se jouer" mean here?



Changing layout on rotation with multiple views moving


How to change the name of an iOS app?How can I make a UITextField move up when the keyboard is present - on starting to edit?Passing Data between View ControllersiOS: Multi-line UILabel in Auto LayoutHow to use auto-layout to move other views when a view is hidden?Using Auto Layout in UITableView for dynamic cell layouts & variable row heightsiPad Landscape and Portrait different layouts with Size ClassUIImageView missing images in Launch Screen on deviceDifferent layout for landscape and portrait iPad with storyboardXCode: How to change layout of views between landscape and portrait mode






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I'm working on an app where I've got a design with two similar layouts for horizontal/vertical. And it's on an iPad. I've found other answers but I can't use most of them because I've got two tableviews in my view, which means I can't use xibs. I'm also making it for the iPad so changing layout based on height/width variation doesn't work.



The design I'm trying to achieve is in the pictures below. What I'm having troubles with is moving the two views that are stacked on the right in landscape mode to be next to each other and short in vertial. Also I need to move those four buttons and the right-side table to being below the other two views.



iPad design prototypes



I've tried overriding trait functions as described in this blog post but for the life of me can not get it to work.



I'm looking for any advice anyone could give me. I feel like I've hit a wall and can not figure out how I can implement this.










share|improve this question






























    0















    I'm working on an app where I've got a design with two similar layouts for horizontal/vertical. And it's on an iPad. I've found other answers but I can't use most of them because I've got two tableviews in my view, which means I can't use xibs. I'm also making it for the iPad so changing layout based on height/width variation doesn't work.



    The design I'm trying to achieve is in the pictures below. What I'm having troubles with is moving the two views that are stacked on the right in landscape mode to be next to each other and short in vertial. Also I need to move those four buttons and the right-side table to being below the other two views.



    iPad design prototypes



    I've tried overriding trait functions as described in this blog post but for the life of me can not get it to work.



    I'm looking for any advice anyone could give me. I feel like I've hit a wall and can not figure out how I can implement this.










    share|improve this question


























      0












      0








      0








      I'm working on an app where I've got a design with two similar layouts for horizontal/vertical. And it's on an iPad. I've found other answers but I can't use most of them because I've got two tableviews in my view, which means I can't use xibs. I'm also making it for the iPad so changing layout based on height/width variation doesn't work.



      The design I'm trying to achieve is in the pictures below. What I'm having troubles with is moving the two views that are stacked on the right in landscape mode to be next to each other and short in vertial. Also I need to move those four buttons and the right-side table to being below the other two views.



      iPad design prototypes



      I've tried overriding trait functions as described in this blog post but for the life of me can not get it to work.



      I'm looking for any advice anyone could give me. I feel like I've hit a wall and can not figure out how I can implement this.










      share|improve this question














      I'm working on an app where I've got a design with two similar layouts for horizontal/vertical. And it's on an iPad. I've found other answers but I can't use most of them because I've got two tableviews in my view, which means I can't use xibs. I'm also making it for the iPad so changing layout based on height/width variation doesn't work.



      The design I'm trying to achieve is in the pictures below. What I'm having troubles with is moving the two views that are stacked on the right in landscape mode to be next to each other and short in vertial. Also I need to move those four buttons and the right-side table to being below the other two views.



      iPad design prototypes



      I've tried overriding trait functions as described in this blog post but for the life of me can not get it to work.



      I'm looking for any advice anyone could give me. I feel like I've hit a wall and can not figure out how I can implement this.







      ios swift ipad






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 28 at 3:12









      thecoolwinterthecoolwinter

      579 bronze badges




      579 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          0
















          just give the height and width constraints of the subviews with respect to the superview in ratio it'll work.






          share|improve this answer
























            Your Answer






            StackExchange.ifUsing("editor", function ()
            StackExchange.using("externalEditor", function ()
            StackExchange.using("snippets", function ()
            StackExchange.snippets.init();
            );
            );
            , "code-snippets");

            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "1"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389614%2fchanging-layout-on-rotation-with-multiple-views-moving%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0
















            just give the height and width constraints of the subviews with respect to the superview in ratio it'll work.






            share|improve this answer





























              0
















              just give the height and width constraints of the subviews with respect to the superview in ratio it'll work.






              share|improve this answer



























                0














                0










                0









                just give the height and width constraints of the subviews with respect to the superview in ratio it'll work.






                share|improve this answer













                just give the height and width constraints of the subviews with respect to the superview in ratio it'll work.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 28 at 3:19









                Manish_NainwalManish_Nainwal

                2005 bronze badges




                2005 bronze badges





















                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.







                    Got a question that you can’t ask on public Stack Overflow? Learn more about sharing private information with Stack Overflow for Teams.



















                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Stack Overflow!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55389614%2fchanging-layout-on-rotation-with-multiple-views-moving%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Kamusi Yaliyomo Aina za kamusi | Muundo wa kamusi | Faida za kamusi | Dhima ya picha katika kamusi | Marejeo | Tazama pia | Viungo vya nje | UrambazajiKuhusu kamusiGo-SwahiliWiki-KamusiKamusi ya Kiswahili na Kiingerezakuihariri na kuongeza habari

                    Swift 4 - func physicsWorld not invoked on collision? The Next CEO of Stack OverflowHow to call Objective-C code from Swift#ifdef replacement in the Swift language@selector() in Swift?#pragma mark in Swift?Swift for loop: for index, element in array?dispatch_after - GCD in Swift?Swift Beta performance: sorting arraysSplit a String into an array in Swift?The use of Swift 3 @objc inference in Swift 4 mode is deprecated?How to optimize UITableViewCell, because my UITableView lags

                    Access current req object everywhere in Node.js ExpressWhy are global variables considered bad practice? (node.js)Using req & res across functionsHow do I get the path to the current script with Node.js?What is Node.js' Connect, Express and “middleware”?Node.js w/ express error handling in callbackHow to access the GET parameters after “?” in Express?Modify Node.js req object parametersAccess “app” variable inside of ExpressJS/ConnectJS middleware?Node.js Express app - request objectAngular Http Module considered middleware?Session variables in ExpressJSAdd properties to the req object in expressjs with Typescript