-
Notifications
You must be signed in to change notification settings - Fork 379
Open
Description
I create a new project test a string like this
NSString * strDianJia=@"ikea</font>";
it runs to crash.but it works fine in your sample project.
I debuged.find in RTLabel.m file.
int position = [data rangeOfString:delimiter].location;
in my project the position return -1,if not find
so if (position!=NSNotFound) still true,but in your sample project it turns out to false.
I don't know why. so I set to false if it returns -1.
Metadata
Metadata
Assignees
Labels
No labels