iPhone SDK 4 quot;Half curl page transitionquot;(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“半卷曲页面过渡"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:iPhone SDK 4“半卷曲页面过渡"


基础教程推荐
- AdMob 广告未在模拟器中显示 2022-01-01
- libGDX 从精灵或纹理中获取像素颜色 2022-01-01
- 通过重定向链接在 Google Play 中打开应用 2022-01-01
- navigator.geolocation.getCurrentPosition 在 Android 浏览器上 2022-01-01
- Cocos2d iPhone 非矩形精灵触摸检测 2022-01-01
- iPhone - 获取给定地点/时区的当前日期和时间并将其与同一地点的另一个日期/时间进行比较的正确方法 2022-01-01
- 如何从 logcat 中删除旧数据? 2022-01-01
- NSString intValue 不能用于检索电话号码 2022-01-01
- iOS4 创建后台定时器 2022-01-01
- Android:getLastKnownLocation(LocationManager.NETWORK_PROVIDER 2022-01-01