开发者

How to show a view from scrollview

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开发者_StackOverflow社区 the Scrollview. = /

Any suggestions?

Thanks.


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]'.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜