Просмотр исходного кода

1.修改iOS Apex Drivers Detail Location,注释主动解析Street。

Pen Li 7 лет назад
Родитель
Сommit
7343f022e7

+ 7 - 7
Redant Drivers/Apex And Drivers/Detail/Model/RADetailLocationModel.m

@@ -21,13 +21,13 @@ static const CGFloat SpaceHeight = 38.0f;
         [self caculateValueHeight];
     });
     
-    NSArray *tmpArr = [location componentsSeparatedByString:@"TEL:"];
-    NSString *tmpStr = [tmpArr objectAtIndex:0];
-    tmpArr = [tmpStr componentsSeparatedByString:@"\r\n"];
-    NSMutableArray *tmpMArr = [tmpArr mutableCopy];
-    [tmpMArr removeObjectAtIndex:0];
-    tmpStr = [tmpMArr componentsJoinedByString:@" "];
-    self.street = tmpStr;
+//    NSArray *tmpArr = [location componentsSeparatedByString:@"TEL:"];
+//    NSString *tmpStr = [tmpArr objectAtIndex:0];
+//    tmpArr = [tmpStr componentsSeparatedByString:@"\r\n"];
+//    NSMutableArray *tmpMArr = [tmpArr mutableCopy];
+//    [tmpMArr removeObjectAtIndex:0];
+//    tmpStr = [tmpMArr componentsJoinedByString:@" "];
+//    self.street = tmpStr;
 }
 
 - (CGFloat)height {