How do you load a view on top of another view on the iPad

How do you download a presentation on top of another presentation on the iPad, for example, in Wordpress, when it asks you to set up your blog. Can you show or post me some sample code. I have NSUSerdefaults installed, so it will appear on the first start. I would like this view to look like this http://uplr.me/files/p45064.png

See how it has shadduks and the view is darkened from behind. What I'm trying to do.

0
source share
2 answers

I recieved it

AddViewController* firstLaunchController = [[AddViewController alloc] initWithNibName:nil bundle:nil]; UINavigationController *modalNavigationController = [[UINavigationController alloc] initWithRootViewController:firstLaunchController]; modalNavigationController.modalTransitionStyle = UIModalTransitionStyleCrossDissolve; modalNavigationController.modalPresentationStyle = UIModalPresentationFormSheet; [detailViewController presentModalViewController:modalNavigationController animated:YES]; [firstLaunchController release]; 

was so simple

Thank you all

+3
source

The second view is loaded as a modal view of the first. See -[UIViewController presentModalViewController:animated:] .

On the iPad, when you present a modal view, you automatically get blackout.

+2
source

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


All Articles