I know that if map a url with from:toViewController:
, then open that url will create a new view controller and if from:toSharedViewController
is used then a shared instance will be used.
But for example
[map from:@"tt://tabbar/(initWithString:)" toSharedViewController:[MyTabbarController class]];
TTOpenURL(@"tt://tabbar/string");
This will invoke something similar to
[[MyTabbarController alloc] initWithString:@"string"]
But what will be happened if TTOpenURL(@"tt://tabbar/somethingelse")
in called later?
Since a shared object is used so will the initWithString:
be called twice on a same instance?