Pre-loading string into search bar & searching from segue
<p>Question is similar to this one: <a href="https://stackoverflow.com/questions/7465185/setting-searchbar-text-in-view-did-load">Setting searchBar.text in view did load</a></p>

<p>I have my keyword from V1 passing to V2 without issues; I'm trying to set it as search bar text &amp; search from previous segue.</p>

<p>String is called <code>searchText</code>.</p>

<p>I've tried</p>

<pre><code>    self.searchBar.text = self.searchText;
</code></pre>

<p>in viewWillAppear &amp; viewDidLoad of V2 but nothing is showing up in my search bar.</p>

<p>How can I get my searchText into the search bar and filtering my table after segue from V1 to V2?</p>