UIScrollView doesn't init 2nd View right
Hey there,
ich have a Problem with my UIScrollView in combination with a PageControl.
My Scenario:
I have a UIScrollView with a Page Control, the ScrollView Creates a new Object of my View i want to geht loaded in the Scrollview. I allocate the new object and init it with the Page. So, no problem till that point.
The View that gets loaded by the UIScrollView (PageControl...) hast a UITableView. The TableView gets fed by a XML File, (i.e. ...page.xml). so i have
a XMLcont which loads the XML.
And thats where my odyssey start: I want the following: when page 1 becomes active (page 1 is in UIPageControl 0) the page1.xml should be given to the XML Controller. if page 2 becomes active, page2.xml should be given/loaded by the XML controller into the Tableview.
What i see at the moment is a perfectly loaded page1, but a empty loaded .nib on the 2nd page.
Does anyone have any ideas, what the problem can be? i have absolutely no idea how to solve this.
Thanks everybody for any help you can give me
p.s. if you need the code, i can paste it afterwards
|