Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

loon3y

macrumors 65816
Original poster
Oct 21, 2011
1,235
126
Im recreating my app in iOS5 storyboard, and as i was copying and pasting all the coding, the scroll view doesn't work properly, i was wondering if its an ios5 or storyboard problem, because it works perfectly fine in my old app which is programmed in ios4, and using separate nib files.

i also had a problem sending the scrollview to the back I'm not sure how i did it before (i forgot like an idiot) but the scroll doesn't work it juz shows the bar going down but all my labels and textfields stay where they are.


heres the coding for my scroll view in viewdidload, but i think it might be what position the scroll view is at (back, or front, or my labels or text fields might not be attactched to the scroll view) plz help i forget and i don't want to waste time researching and doing trial and error stuff for something i already wasted time on learning.




Code:
   scrollView.frame = CGRectMake (0, 0, 320, 460);
    [scrollView setContentSize:CGSizeMake(320, 600)];
 
plz help i forget and i don't want to waste time researching and doing trial and error stuff for something i already wasted time on learning.

You think the learning part was a waste of time? That kind of attitude is probably not going to endear you to those you seek help from.
 
You think the learning part was a waste of time? That kind of attitude is probably not going to endear you to those you seek help from.

well i meant since i already learned it per say , it'll be a waste of time researching over again. cuz i usually take an hour or so more.


i apologize if u took it the wrong way
 
well i meant since i already learned it per say , it'll be a waste of time researching over again. cuz i usually take an hour or so more.

Hmm, if you learned it already, why would you need to research it again? Wouldn't you just apply what you've already learned?
 
Hmm, if you learned it already, why would you need to research it again? Wouldn't you just apply what you've already learned?

i forgot, I'm overseas and I've been sick for the past week, I'm still sick, i need to get out of india.
 
the problem was that i added the scroll view last and arranged it to the back, for some reason it doesn't work well.

i juz created the whole view again, and added the scroll view first and it worked perfectly fine, just for whoever else runs into this problem
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.