Animate the change between detail views on a UISplitViewController

This is currently how I change between the detailed views from the right navigation bar

UIViewController <SubstitutableDetailViewController> *detailViewController = nil;

NSString * type = [self selectview:arb];

DetailViewController *newDetailViewController = [[DetailViewController alloc] initWithNibName:type bundle:nil];
detailViewController = newDetailViewController;
NSArray *viewControllers = [[NSArray alloc] initWithObjects:self.navigationController, detailViewController, nil];
splitViewController.viewControllers = viewControllers;

[viewControllers release];
[detailViewController release];

There are many different feathers that can be changed to

What I want to do is change between them with a sliding effect, since the navigation controller will be good

+3
source share
2 answers

You can place all the β€œrelated” detailed representations in one controller of the type of navigation, which would be well versed in the transition between themselves. Here is an example: http://www.cimgf.com/2010/05/24/fixing-the-uisplitviewcontroller-template/

0

: ? UIViewControllers, ...

-1

Source: https://habr.com/ru/post/1752066/


All Articles