Skip to content
This repository has been archived by the owner on Apr 29, 2024. It is now read-only.

Commit

Permalink
[ios11] fix Search in LargeTitles
Browse files Browse the repository at this point in the history
  • Loading branch information
conceptdev committed Nov 15, 2017
1 parent 5c940fd commit 06e065e
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ public override void ViewDidLoad()
DimsBackgroundDuringPresentation = false
};
search.SearchResultsUpdater = this;
//TODO: enable search once I've figured out the segue losing the navbar
//NavigationItem.SearchController = search;
// ensures the segue works in the context of the underling ViewController, thanks @artemkalinovsky
DefinesPresentationContext = true;

NavigationItem.SearchController = search;
}

public void UpdateSearchResultsForSearchController(UISearchController searchController)
Expand Down

0 comments on commit 06e065e

Please sign in to comment.