每天上一当当当不一样
- (BOOL)isChinese:(NSString*)userName{
BOOLexist =false;
for(inti =0;i < [userNamelength];i++){
inta = [userNamecharacterAtIndex:i];
if(a >0x4e00&&a <0x9fff){
exist =true;
}
}
return exist;
}
每天上一当当当不一样
- (BOOL)isChinese:(NSString*)userName{
BOOLexist =false;
for(inti =0;i < [userNamelength];i++){
inta = [userNamecharacterAtIndex:i];
if(a >0x4e00&&a <0x9fff){
exist =true;
}
}
return exist;
}
本文标题:判断接口返回的参数中是否有中
本文链接:https://www.haomeiwen.com/subject/ggucfrtx.html
网友评论