How can I check if split view opened in split mode (i mean view when master and detail views are shown at the same time) like on ipad or iphone with high-resolution screen in landscape mode? The reason is that I need to navigate to page if detail view is not shown or to refresh data on detail view if it is. Hope you can understand my idea
Here what i used to do that:
if (this.NavigationController.ChildViewControllers[0].ChildViewControllers.Length == 1)
it checks if the number of splitview child controller is equal to 1 (it mean that only master or detail view page presented) where
this.NavigationController.ChildViewControllers[0]
is the path to splitview controller