hey. When I am clicking URL link on TTStyleTextLabel, it doesn't push a new page. But when I looked at the TTCatalog, they don't have any method in the styledtexttestcontroller which seem to open up the webpage. So how does TTCatalog do that? How can I do that?
+1
A:
Make sure that you have the TTNavigator to map from url to TTWebController. In the sample TTCatalog app you have:
[map from:@"*" toViewController:[TTWebController class]];
This will let the http:// be mapped to TTWebController in case it does not have any other mapped view controller.
sfa
2010-07-26 17:17:25
yup this was the problem! thx!~!
David Gao
2010-08-06 19:44:50