i have to set the font size and font family of a dynamically created textView,sothat it gives same appearance as the one generated using Interface builder.Please help me....
A:
There is a property font in UITextView.
@property(nonatomic, retain) UIFont *font
You can do like this yourTextView.font = builderTextView.font
vodkhang
2010-06-16 15:23:17
it does not work this way
Ajayvictor007
2010-06-16 15:46:55
It doesn't work? Can you try to print out the builderTextView.font?
vodkhang
2010-06-16 16:27:49
A:
UITextView *textView
...
[textView setFont:[UIFont fontWithName:@"ArialMT" size:16]]
John
John
2010-06-16 18:12:24