IOS 11 Search Bar inside Navigation Bar



How do I use the new iOS 11 search bar in navigation bar with Nativescript?
in Swift:
let searchController = UISearchController(searchResultsController : nil);
navigationItem.searchController = searchController;


Try using ActionView with SearchBar component.


@manojdcoder I tried but when i put searchbar inside actionView or actionItem, searchbar shown on the top. I think we need a native solution.