Setting row height in viewDidLoad for NearbySpots controller
This commit is contained in:
parent
d94d27dea7
commit
28c7d2557d
1 changed files with 2 additions and 4 deletions
|
|
@ -109,6 +109,8 @@ static TTTLocationFormatter *__locationFormatter;
|
|||
|
||||
[self.navigationController.navigationBar setTintColor:[UIColor darkGrayColor]];
|
||||
|
||||
self.tableView.rowHeight = 70.0f;
|
||||
|
||||
[self.locationManager startUpdatingLocation];
|
||||
}
|
||||
|
||||
|
|
@ -145,10 +147,6 @@ static TTTLocationFormatter *__locationFormatter;
|
|||
return [self.nearbySpots count];
|
||||
}
|
||||
|
||||
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
return 70.0f;
|
||||
}
|
||||
|
||||
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
|
||||
static NSString *CellIdentifier = @"Cell";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue