我已经用这个 url map 实现了一个 TTNavigator:
TTNavigator* navigator = [TTNavigator navigator];
navigator.persistenceMode = TTNavigatorPersistenceModeNone;
TTURLMap* map = navigator.URLMap;
[map from:@"tt://launcher/" toViewController: [LauncherViewController class]];
[map from:@"tt://onlineCall/(callOnlineURL:)" toViewController: [CustomWebController class]];
好吧,当启动器的项目调用时:
item =
[[TTLauncherItem alloc] initWithTitle: @"Online"
image: @"bundle://safari_logo.png"
URL: @"tt://onlineCall/www.google.it"];
[launcherView addItem:item animated:YES];
我的 CustomWebController 没有显示..我怎么能在内部调用“loadView”???
感谢帮助