ipad - UISplitViewController strange behaviour of Master split

I'm developing UISplitViewController application, Master view is embedded into Navigation Controller.

Every time I segue in Master to a new GroupsViewController and then press "back" button, my GroupsViewController moves to the center of screen and the whole SplitViewController covers it vertically from top:

It happens only in landscape orientation. In portrait everything works fine.

The segue is from NavigationBarButton to a GroupsViewController

- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
{
if ([[segue identifier] isEqualToString:@"ShowGroupsSegue"])
    {
        GroupsViewController *groupsController = (GroupsViewController *)[segue destinationViewController];
        groupsController.contactsdelegate = self;
    }
}

Any suggestions how can I fix that?

Answers


I got it working by making sure that relevant class was returning YES in (BOOL)shouldAutorotateToInterfaceOrientation for all orientations on iPad.

I have a universal project, so that particular class was still set to the appropriate iPhone settings (return YES only to UIInterfaceOrientationPortrait).


Need Your Help

Install cx_freeze on anaconda?

python cx-freeze anaconda

I'm trying to install cx_freeze to a virtual environment I've made in anaconda. From within the environment, I type (https://binstar.org/pyzo/cx_freeze):

Excel VBA - copying and pasting visible table rows only

excel vba excel-vba

I am trying to copy only the visible rows in a table into a seperate worksheet in the same workbook. I'm a little new to using the 'ListObject' approach to dealing with tables (for a few reasons,

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.