I have a tab bar application, and I need to add a scroll view into one of these tabs. I'm loading each tab individually from a separate nib file, and am not using any navigation/table's etc.
So if someone could explain to me how in the world to combine a scroll view to a tab bar application that would be great. I'm a very novice developer and this is kind of a big deal for me since I don't know what I'm doing.
I have a tab bar application, and I need to add a scroll view into one of these tabs. I'm loading each tab individually from a separate nib file, and am not using any navigation/table's etc.
So if someone could explain to me how in the world to combine a scroll view to a tab bar application that would be great. I'm a very novice developer and this is kind of a big deal for me since I don't know what I'm doing.
Sample code would be great if possible.
Thanks very much in advance.
Are you using interface builder to construct your nibs for each tab? If so, there is an element called UIScrollView you can drag and drop onto your view. You'll then need to hook it up in your classes with IBOutlet UIScrollView *myScrollView;
Are you using interface builder to construct your nibs for each tab? If so, there is an element called UIScrollView you can drag and drop onto your view. You'll then need to hook it up in your classes with IBOutlet UIScrollView *myScrollView;
Yes, I am using interface builder to create each individual view. I've tried creating an outlet and hooking everything up, however every time I run the app it freezes when I click on the tab loading the view.
I think I may start from the beginning, and create a fresh tab bar app, and create each view again. Incase I'm doing this wrong, I am wondering how do I start with a new nib file, but have the nib file connected to the View Controller files? Hope that makes sense haha.
Thanks very much.
Last edited by LotsOfQuestions123; 03-08-2010 at 09:38 PM.
I think I may start from the beginning, and create a fresh tab bar app, and create each view again. Incase I'm doing this wrong, I am wondering how do I start with a new nib file, but have the nib file connected to the View Controller files? Hope that makes sense haha.