UIScrollView in Storyboard not working with iOS 8 Size Classes and Autolayout -


So I'm trying to create a UIScrollView in the storyboard, which will allow me to scroll the label

  • UISCroll View <

    Built Up, Up, Bottom, left and right

  • A border of 0 has been created for the distance between neighboring neighbors, which has created a view of subView UIScrollView any height Any height VC with the same width as but the height of 1500 (because I only want to scroll it vertically).

  • Set the closest neighbor to the left, top and right and set a high barrier as 1500.

  • I am going to the top of sub-view and below

  • I put the label when I run the app on iPhone 6, so do not scroll vertically as I want to do any idea why it is not working? thank you in advanced.

    To get the scroll, you see the sub-view ("Content View") at the top, left, bottom of the view And in addition to the right you have to give it a height (in the "Content view") (not related to the = scroll view), because it is used by ScrollView to calculate its content size. In your case, the VC sets the width of the main width and height of 1500. When the width or height is greater than the scrollviewview size, it will scroll.

    Scroll view barriers (pinned from main view)

    scroll View barriers

    content view (scrollview + height 1500, width = main view width) + label deficiencies (example: 20 20 content view top left)

    < Img src = "https://i.stack.imgur.com/GOwNS PNG" alt = "content scene + label deficiency">


    Comments

    Popular posts from this blog

    HTML/CSS - Automatically set height width from background image? -

    php - Mysql Show Process - Sleep Commands and what to do -

    list Class in C++ -