Note that there are some explanatory texts on larger screens.

plurals
  1. POUIScrollView only scrolls with text
    primarykey
    data
    text
    <p>I recently updated my xcode to 4.5 but now my UIScrollView Doesn't work anymore, in my previous xcode I made the scrollview at the exact same way and placed a imageview background and some buttons in it, they scroll along when I scroll. </p> <p>Now with this new xcode when I place something in it, it doesn't scroll at all. Only when I put textview in it and make the text longer then the screen then it will scroll, but even then when I place a button on it the button won't scroll along, just the text. It's realy annoying and I don't know what Im doing wrong.. I've been trying to find a solution to this all day. </p> <p>my ScrollView is placed in my view and got size 320,480. </p> <p>in my ViewDidLoad I have:</p> <pre><code>[scroller setScrollEnabled:YES]; [scroller setContentSize:CGSizeMake(320, 481)]; </code></pre> <p>I also have a picture to make my setup more clear, When I run the project in this picture it does scroll because of the text length. the image background is 320x960 but the picture doesn't scroll along it should go to the bottom where to color becomes more dark.. I hope you understand what I mean.</p> <p><img src="https://i.stack.imgur.com/zaKF6.png" alt="enter image description here"></p> <p><strong>Extra</strong></p> <p>I made a video showing what I do, showing that it doesnt scroll when I put something in it </p> <p><a href="http://www.youtube.com/watch?v=rzYTWLiIC8g&amp;feature=youtu.be" rel="nofollow noreferrer">http://www.youtube.com/watch?v=rzYTWLiIC8g&amp;feature=youtu.be</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload