how to change size and position of searchController?.searchBar?
<p>I try to change size and position of searchController.searchBar for exemple 
i cahnge y from 0 to 100 but i can see any change in my programme .</p>

<p>here is my code : </p>

<pre><code>    placesClient = GMSPlacesClient.sharedClient()
    resultsViewController = GMSAutocompleteResultsViewController()
    resultsViewController?.delegate = self
    searchController = UISearchController(searchResultsController: resultsViewController)
    searchController?.searchResultsUpdater = resultsViewController

    searchController?.searchBar.sizeThatFits(CGSize(width: 600, height: 44.0 ))


         self.definesPresentationContext = true

    searchController?.searchBar.frame = (CGRectMake(0, 100,600, 44.0))

    self.navigationItem.rightBarButtonItem = UIBarButtonItem(customView: (searchController?.searchBar)!)

    // Keep the navigation bar visible.
    searchController?.hidesNavigationBarDuringPresentation = false
    searchController?.modalPresentationStyle = UIModalPresentationStyle.Popover
</code></pre>

<p><a href="http://i.stack.imgur.com/0URX8.png" rel="nofollow">picture</a></p>

<p>can any body help me please ?</p>