One way would be, assuming inserimentoToolbar is declared in your interface:
[(UILabel *)[[toolbar.items objectAtIndex:1] view] setText:@"sometext"];
This really only works assuming your toolbar doesn't change (in terms of objects).
OR
The more ideal solution would be to put lblTotCaratteri in your interface (in your header file). Like:
@interface UntitledViewController : UIViewController {
UILabel *lblTotCaratteri;
}
Then your included code would just like
UIBarButtonItem *fixedSpace = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:self action:nil];
lblTotCaratteri = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 25, 15)];
lblTotCaratteri.textAlignment = UITextAlignmentCenter;
// etc etc etc
Then at any point, just use
lblTotCaratteri.text = @"sometext";
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…