iPad的iTunes的动画

iPad的iTunes的动画

本文介绍了iPad的iTunes的动画的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iPad上的iTunes音乐商店的应用程序,如果你选择专辑,模态的视图切换到屏幕的中间翻转出来的专辑。这是一个内置的动画或定制的吗?我怎么会去复制呢?

Within the iTunes Music Store app on the iPad, if you select an album, a modal view flips out of the album over to the middle of the screen. Is this a built in animation or a custom built one? How would I go about replicating it?

这可以看到约30秒进入。

This can be seen about 30 seconds into this video.

感谢

推荐答案

这是一个内置的动画。创建视图控制器要在模式视图中显示,然后美元的导航控制器。

This is a built-in animation. Create the View Controller you want to display in the modal view and then present it within a Navigation Controller.

    ViewController *viewController = [[ViewController alloc] initWithNibName:@"ModalEvent" bundle:nil];
    viewController.delegate = self;

    modalNavController = [[UINavigationController alloc] initWithRootViewController:viewController];
    modalNavController.modalPresentationStyle = UIModalPresentationFormSheet;
    modalNavController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal;
    [self presentModalViewController:modalNavController animated:YES];

    [viewController release];

这篇关于iPad的iTunes的动画的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-02 06:20