From 282883ad654caa4f1d4562fd1d628d02a67ae4bf Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Mon, 17 Oct 2011 14:57:03 +0300 Subject: [PATCH] [ios] Fixed non-working suggestion --- iphone/Maps/Classes/SearchVC.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/SearchVC.mm b/iphone/Maps/Classes/SearchVC.mm index 27bdb753e9..56f1b685ae 100644 --- a/iphone/Maps/Classes/SearchVC.mm +++ b/iphone/Maps/Classes/SearchVC.mm @@ -325,7 +325,7 @@ static void OnSearchResultCallback(search::Result const & res, int queryId) break; case search::Result::RESULT_SUGGESTION: - [(UISearchBar *)self.navigationItem.titleView setText: [NSString stringWithFormat:@"%s ", res.GetSuggestionString()]]; + [m_searchBar setText: [NSString stringWithFormat:@"%s ", res.GetSuggestionString()]]; break; } }