How can we increase the space between two lines in UITextView. I have searched related topics, in which they are creating their own font. I have tried that also. It is not working.
- (void)viewDidLoad
{
[super viewDidLoad];
org_txtvw_rect = CGRectMake(self.text_view.frame.origin.x,
self.text_view.frame.origin.y,
self.text_view.frame.size.width,
self.text_view.frame.size.height);
[text_view.text sizeWithFont:[UIFont systemFontOfSize:14]
constrainedToSize:CGSizeMake(100, MAX_HEIGHT)
lineBreakMode:UILineBreakModeWordWrap];
}
Am I doing anything wrong?
Can we use this property for line spacing?
text_view.font.lineHeight