如何从“部分卷曲”返回类型转换
我正在尝试使用部分卷曲转场来显示主视图下方的选项视图。这与触摸地图应用程序右下角的“卷页”按钮相同。
我可以成功执行选项视图的 segue,我的问题是返回主视图。我希望复制地图应用程序的反向动画效果,因为边缘卷曲回平坦并显示主视图。
创建另一个转场以返回主视图似乎不合逻辑(如果我不使用部分卷曲转场,我会做什么),因为返回转场与原始转场相关联。
预先感谢您的任何帮助!
I am attempting to use a partial curl segue to reveal an options view underneath my main view. This is identical to touching the "page curl" button in the bottom right corner of the Maps app.
I can successfully execute the segue to the option view, my problem is returning to the main view. I'm hoping to replicate the reverse animation effect of the Maps app as the edge curls back flat and the main view is shown.
It doesn't seem logical to create another segue to return back to the main view (what I would do if I were not using the partial curl segue) because the return segue is associated with the original segue.
Thanks in advance for any help!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
试试
这应该可行!
或者我相信你可以按翻页的背面,它会自动返回,无需添加任何代码!希望有帮助!
try
This should work!
Or i believe you can press the back side of the turned page and it will return automatically with out adding any code! Hope that helps!
在 Swift 中,dismissModalViewControllerAnimated 已被重命名:
In Swift dismissModalViewControllerAnimated has been renamed: