i'm using UISearchDisplayController in my ViewController:
search bar is part of my tableView:
All works fine (search,search results) but i have one issue: when i'm pressing search her it becomes bigger, and after i'm pressing cancel button it changes his position and returns to initial position, please check this Picture. What am i missing? I just hooked up my searchDisplayController with storyboard, and using some code for search, i'm not changing size or position of my searchBar.