Nextrek
Diff Revisions
795
vs
796
for /iOS/SafariArte/trunk/SafariArte/Controllers/RouteDetailsVC/RouteDetailsVC.m
|
@@ -47,7 +47,6 @@ |
47 |
47 |
|
[super viewDidLoad]; |
48 |
48 |
|
|
49 |
49 |
|
self.routeTable.tableFooterView = [[UIView alloc] initWithFrame:CGRectZero]; |
50 |
|
- |
// self.title = self.routeForDetail.routeLabel; |
51 |
50 |
|
|
52 |
51 |
|
tableIsHidden = YES; |
53 |
52 |
|
|
|
@@ -79,7 +78,9 @@ |
79 |
78 |
|
self.routeDistance.text = ([[[NSUserDefaults standardUserDefaults] objectForKey:@"distanceUnit"] isEqualToString:@"Mile"])? self.routeForDetail.routeLength[0]: self.routeForDetail.routeLength[1] ; |
80 |
79 |
|
self.routeTitle.text = self.routeForDetail.routeLabel; |
81 |
80 |
|
self.routeDuration.text =[NSLocalizedString(@"RouteDuration", nil) stringByAppendingString: self.routeForDetail.routeDuration[0]]; |
|
81 |
+ |
|
82 |
82 |
|
self.routeDescription.text = self.routeForDetail.routeDescription; |
|
83 |
+ |
self.routeDescription.textAlignment = NSTextAlignmentJustified; |
83 |
84 |
|
[self.routeDescription scrollRangeToVisible:NSMakeRange(0, 1)]; |
84 |
85 |
|
|
85 |
86 |
|
if ([[DATAMANAGER poiForRoute:self.routeForDetail] intValue] > 0 && self.routeForDetail.routePois.count && [[DATAMANAGER poiForRoute:self.routeForDetail] intValue] < self.routeForDetail.routePois.count){ |