iPhone SDK 4“半卷曲页面过渡"

2023-10-03移动开发问题
1

本文介绍了iPhone SDK 4“半卷曲页面过渡"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

在史蒂夫·乔布斯今年早些时候发布的 iPhone SDK 4 主题演讲中,其中一张幻灯片显示半卷曲页面过渡"是新 SDK 的一部分.

In Steve Jobs' keynote announcement of the iPhone SDK 4 earlier this year, one of the slides showed that a "Half curl page transition" was part of the new SDK.

我查看了 iOS API 文档,但似乎找不到这种转换.有谁知道它在哪里?

I've looked through the iOS API docs and I can't seem to find this transition. Does anyone know where it is?

推荐答案

不是过渡,而是modalTransitionStyle.您可以在此处查看文档:https://developer.apple.com/documentation/uikit/uiviewcontroller/1621388-modaltransitionstyle

It's not a transition, but a modalTransitionStyle. You can check the docs here: https://developer.apple.com/documentation/uikit/uiviewcontroller/1621388-modaltransitionstyle

如果创建一个新的UIViewController,将其modalTransitionStyle设置为UIModalTransitionStylePartialCurl,然后presentModalViewController:animated:它,你会得到想要的半卷页"效果.

If you create a new UIViewController, set its modalTransitionStyle to UIModalTransitionStylePartialCurl, and then presentModalViewController:animated: it, you'll get the desired "half curl page" effect.

这篇关于iPhone SDK 4“半卷曲页面过渡"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

硬件音量按钮更改应用程序音量
Hardware Volume buttons change in app volume(硬件音量按钮更改应用程序音量)...
2024-08-12 移动开发问题
10

Cocos2d - 如何检查不同层中对象之间的交集
Cocos2d - How to check for Intersection between objects in different layers(Cocos2d - 如何检查不同层中对象之间的交集)...
2024-08-12 移动开发问题
8

突出显示朗读文本(在 iPhone 的故事书类型应用程序中)
Highlight Read-Along Text (in a storybook type app for iPhone)(突出显示朗读文本(在 iPhone 的故事书类型应用程序中))...
2024-08-12 移动开发问题
9

Cocos2D + 仅禁用 Retina iPad 图形
Cocos2D + Disabling only Retina iPad Graphics(Cocos2D + 仅禁用 Retina iPad 图形)...
2024-08-12 移动开发问题
10

正确的 cocos2d 场景重启?
Proper cocos2d scene restart?(正确的 cocos2d 场景重启?)...
2024-08-12 移动开发问题
7

[ios.cocos2d+box2d]如何禁用自动旋转?
[ios.cocos2d+box2d]how to disable auto-rotation?([ios.cocos2d+box2d]如何禁用自动旋转?)...
2024-08-12 移动开发问题
7