diff --git a/iphone/Maps/UI/Editor/MWMEditorViewController.mm b/iphone/Maps/UI/Editor/MWMEditorViewController.mm index e769e7c5f..191e6c7bd 100644 --- a/iphone/Maps/UI/Editor/MWMEditorViewController.mm +++ b/iphone/Maps/UI/Editor/MWMEditorViewController.mm @@ -901,13 +901,12 @@ void registerCellsForTableView(std::vector const & cells, UITab { self.offscreenCells[(id)cellClass(MWMEditorCellTypeNote)] = cell; self.note = text; - [UIView setAnimationsEnabled:NO]; - [self.tableView refresh]; - [UIView setAnimationsEnabled:YES]; - NSIndexPath * ip = [self.tableView indexPathForCell:cell]; - [self.tableView scrollToRowAtIndexPath:ip - atScrollPosition:UITableViewScrollPositionBottom - animated:YES]; + dispatch_async(dispatch_get_main_queue(), ^{ + [UIView setAnimationsEnabled:NO]; + [self.tableView refresh]; + [self.tableView layoutIfNeeded]; + [UIView setAnimationsEnabled:YES]; + }); } - (void)cell:(MWMNoteCell *)cell didFinishEditingWithText:(NSString *)text { self.note = text; }