ios - Presenting a View controller only in the DetailViewController of UISplitViewController -
i working uisplitviewcontroller, , want present vc detail view controller of splitviewcontroller. this:
[self presentmodalviewcontroller:vc animated:yes];
also tried master vc.
[self.detailvc presentmodalviewcontroller:vc animated:yes];
it comes full screen mean presenting uisplitviewcontroller itself. tried changing modal presentation styles though got same results.
what want vc presented should presented within bounds of detailvc , can of detailvc's entire frame, not come anywhere near mastervc.
for using uiview animation achieve this, ideas on how presenting?
as of xcode 6:
in storyboard, select present modally segue, , go identity inspector, , choose current context presentation option.
Comments
Post a Comment