I have 2 tabs: radius search and location search. I am using UISearchBar in location search. The two tabs are woking perfectly, but when i search some results in search bar, then immediately click the radius tab, I am attempting to hide the searchbar.
I am using following code :
self.searchtextbar.hidden=YES; self.searachtextbar=nil; [self.searchtextbar removeFromSuperView]; The above three statements are executing, but it's not working and search bar is not hiding.
please give any ideas to solve this problem.