I have one UITextView
for which text will change according to the selection by user.
Now I want to add a bullet at the start of every sentence. How would this be achieved?
Thanks a lot in advance.
I have one UITextView
for which text will change according to the selection by user.
Now I want to add a bullet at the start of every sentence. How would this be achieved?
Thanks a lot in advance.
check this code described in this thread Bullet list and Numbered list in UITextView,
NSArray * items = [[NSArray alloc] initWithObjects:@"Mittal",@"Seema",@"Sonal", nil];
NSMutableString * bulletList = [NSMutableString stringWithCapacity:items.count*30];
for (NSString * s in items)
{
[bulletList appendFormat:@"\u2022 %@\n", s];
}
I should you must look into this link. It will contain how to display the numbered list in UITextView . There is also one more link i want to tell you.