You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.
The text was updated successfully, but these errors were encountered: