Verify that your first letter textlayer.string is English or another
NSMutableArray*arrAlphabets; arrAlphabets=[NSMutableArray arrayWithObjects:@"A", @"B", @"C", @"D", @"E", @"F", @"G", @"H",@"I",@"J",@"K",@"L",@"M",@"N",@"O",@"P",@"Q",@"R",@"S",@"T",@"U",@"V",@"W",@"X",@"Y",@"Z",nil]]
Then the Inside Tableview cell for the row using the indexpath method:
NSString *str=[textlayer.string substringToIndex:1]; if(str isEqualToString:arrAlphabets)
We hope this concept will help you :)
source share