I have a UISearchBar on a bottom toolbar. The problem is the keyboard covers it up once you click on it. I was trying to think of ways around this. I tried adding it to the top, but since I'm using a UINavigationController, I'm getting some unexpected behavior. (Like the UISearchBar in the customView for the rightBarButtonItem lengthens once the keyboard is on screen and doesn't return to its original size, and the entire NavigationBar goes off the screen when the keyboard is pressed so you cannot even see what you are typing in that situation either.)
So as a workaround, I was thinking I could have the systemIcon for search in the lower right corner of my toolbar, and then when the keyboard pops up, the searchbar could be part of the keyboard, and then you could see what you type. Does anyone know how I would do that? Thanks.