NSString *weekStr = @"周二";
NSInteger  weekday = [self passday:weekStr];
-(NSInteger)passday:(NSInteger)day andWeekDay:(NSString *)weekday{
if([weekday isEqualToString:@"周日"]) {
day= 7;
}  else if([weekday isEqualToString:@"周六"]) {
day= 6;
} else if([weekday isEqualToString:@"周五"]) {
day= 5;
} else if([weekday isEqualToString:@"周四"]) {
day= 4;
}  else if([weekday isEqualToString:@"周三"]) {
day= 3;
}  else if([weekday isEqualToString:@"周二"]) {
day= 2;
}  else if([weekday isEqualToString:@"周一"]) {
day= 1;
}
return day;
}
IOS手机 html5页面 数字变成蓝色链接的原因
IOS手机 html5页面 数字变成蓝色链接的原因 这个是ios手机自动识别 写如下代码 即可