Trying to make a simple link clicking activity work. I think I understand TTNavigator and TTStyledLabel, but can't get it to work.
Code:
@interface SomeVc : UIViewController <TTNavigatorDelegate> {
IBOutlet TTStyledTextLabel *styledTextLabel;
}
@end
@implementation SomeVc
- (void)viewDidLoad {
[super viewDidLoad];
navig...
I'm using Three20 TTStyledTextLabel and when I change the default font (Helvetica) to something else it creates some kind of height difference between links and regular text
The following code demonstrate my problem:
#import <Three20/Three20.h>
@interface TestController : UIViewController {
}
@end
@implementation...
Hi i created a TTStyledTextLabel, works well.
Now i want to make URL clickable, i've done this:
textLabel.text = [TTStyledText textFromXHTML:[content objectForKey:@"content"] lineBreaks:YES URLs:YES];
but my links are still unclickable. Do i have to setup a UIWebView first? Where to declare it?
Another thing is, is it possible to re...
I found an old post in the three20 Google Group about external image support not being implemented yet, but that's a few months old and it looks like TTStyledText is
trying to support external images in the newer releases.
I'm pulling out my hair trying to figure out why it isn't working for
me. To reproduce, you can change the sampl...
Hi,
I am using a TTStyledTextLabel in my project to parse the hyperlinks, it all works fine. The only problem I am facing is to truncate a long text - show ellipses if the text does not fit in the bounds of TTStyledTextLabel.
In other terms, I need the same behavior as a UILabel which adds ellipses to indicate that some text is clipped...