Changing the width of searchbar
<p>I am adding a search bar to a TableView and my problem is that I want to decrease the width of the searcher not the whole text. But if I decrease the width of the search bar frame, it resizes the whole search bar.</p>

<pre><code>if (searchBar == nil) {

    searchBar               = [[UISearchBar alloc]initWithFrame:CGRectMake(0,0,320,50)];
    searchBar.delegate      = self;
    searchBar.placeholder   = NSLocalizedString(@"Enter City, State or Zip", @"Word used in the 'Search' controller"); 
    searchBar.autocorrectionType = UITextAutocorrectionTypeDefault;
    searchBar.barStyle      = UIBarStyleBlackTranslucent;
    searchBar.tintColor     = [UIColor customisedmediumWhiteColor];
    [self.view addSubview:searchBar];
}
</code></pre>

<p>Can any one please help me how to decrease the width of searcher in uisearchbar?</p>
