views:

21

answers:

1

Hi everybody! I have a view that contains a ScrollView opening two xibs. There is a button on a Xib contained in ScrollView. I want that after clicking the button, open a new view outside of the ScrollView. But I can not open a new view outside the Scrollview. = /

Any suggestions?

Thanks.

A: 

present the view modally or in the root view. From your UIViewController, call [self.view.window.rootViewController presentModalViewController:newController animated:YES] or `[self.view.window.rootViewController.view addSubview:newView]'.

Peter DeWeese