作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我是 Three20 的新手,正在尝试通过 TTNavigator 类(class)找到自己的方法。我尝试通过 URL 系统推送到新 View 。所以我使用了 openURL:animated: 方法,它工作得很好,但它已被弃用,我知道我应该使用 openURLAction 来代替,但它没有animated: 参数。我错过了什么吗?
最佳答案
导航器现在使用 TTURLAction
和 applyXXX
方法:
[[TTNavigator navigator] openURLAction:[[TTURLAction actionWithURLPath:UrlFor(@"foo/bar")] applyAnimated:YES]];
这使得它更具可扩展性,因为不必有 n^2 构造函数。还有许多其他 applyXXX
方法,请查看文档 here和 here
关于iphone - TTNavigator Three20 openURLAction,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2594785/
我是 Three20 的新手,正在尝试通过 TTNavigator 类(class)找到自己的方法。我尝试通过 URL 系统推送到新 View 。所以我使用了 openURL:animated: 方法
我是一名优秀的程序员,十分优秀!