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

ashwinr87

macrumors member
Original poster
In my Ipad app, I have a split view in which the detail view is a scroll view... I have 3 subviews to the scrollview which are tableviews... How do I use
Code:
(void)bringSubviewToFront:(UIView *)view
to bring one of the subviews of the scrollview to the front when an action is performed? (since Views are "stacked" in the order they're added with the last one on top). Should I write the code in the subview or in the detailViewController and how do I call it?
 
Code:
UIView *testie;
    [self.view bringSubviewToFront:testie];
is my wildest guess lol.
 
Last edited by a moderator:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.