使用TTURLMap在堆栈上推送新的视图控制器

时间:2009-11-17 21:22:26

标签: iphone objective-c three20

有一个使用标签的应用,这些标签的映射如图所示 TTNavigatorDemo,在每个选项卡中我都有不同的表视图。 每个表项都有一个与之关联的动态TTURLMap URL。当我 选择一个项目,我知道正在调用后续的视图控制器, 我只需登录initWithNavigatorURL函数。但是,观点是 从未被推入堆栈。

有什么想法吗?

以下是我的网址映射:

[map from:@"tt://tabBar" toSharedViewController:[TabBarController class]];
[map from:@"tt://event/instance?" toViewController:[EventView class]];
[map from:@"tt://news/instance?" toViewController:[NewsView class]];

[map from:@"tt://category/list?" toViewController:
[CategorySubTableViewController class]];

项目定义:

[self.items addObject:[SubtitleItemView itemWithText:result.name subtitle:result.description  
URL:@"tt://event/instance?"
query:[NSDictionary dictionaryWithObjectsAndKeys:result.name, @"name",result.description, @"desc",result.date,@"date",nil]
]]; 

0 个答案:

没有答案
相关问题