我正在开发UISplitViewController应用程序,Master视图嵌入到Navigation Controller.
每次我Master进入一个新的GroupsViewController然后按“后退”按钮时,我都会GroupsViewController移动到屏幕的中心,整个屏幕SplitViewController从顶部垂直覆盖:

它只发生在横向。在肖像中一切正常。
转场是从NavigationBarButton到一个GroupsViewController
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([[segue identifier] isEqualToString:@"ShowGroupsSegue"])
{
GroupsViewController *groupsController = (GroupsViewController *)[segue destinationViewController];
groupsController.contactsdelegate = self;
}
}
有什么建议我该如何解决?