search display controller issue on ios7 - ios

It's only happened on iPad,not in iPhone.
I have a search display controller in my listview, under a titlebar(not navigation bar).
It can be displayed correctly, even I don't set self.edgesForExtendedLayout=UIRectEdgeNone.
The issue is:
When I click in the text field of the searchbar, and then click someplace else to hide the keyboard and end the text input, the searchbar will be shown at the top-left corner of the screen.
p.s.My listview is in the middle of the screen.
In one of my modal view, the search bar is under a navigation bar, there is no such issue. But I must set self.edgesForExtendedLayout=UIRectEdgeNone to show the search bar.
Could you give me a hand please?
Thanks a lot.

Related

Three dots appears in navigation icon iPhone when clicking the right bar button

When I click on the right bar button three dots are being appeared on the right of left bar item that is navigation icon, Help me to remove these three dots and let me know why these dots appear even there is nothing alongside the navigation icon and there is no error in programming
Delete button title as you've used image into the button. Button's width is not enough to show both image and title text all together. This is true for bar button also.

Navigation Bar Hidden on Rotation When Keyboard Showing

I have a webview in my application. When the user brings up the keyboard to type into a text field and then rotates the screen the navigation bar scrolls up the screen as well as the text field in question, obscuring the status bar. Not only that but the screen auto scrolls back to that default position when you try to scroll up in the web view.
Any help on fixing this issue?
Thanks

uisearchdisplaycontroller when search text is being typed in pushes navigationBar

I am using iOS7 on iPad project. In my controllers main view I have 2 subviews. In one of the subviews I placed a tableview and above it a search bar and a button. When I click on the search bar to enter text it grows by about 20 px pushing navigation bar up. Can't figure out why it is doing so. Any help appreciated. Thanks

UISearchBar covered up when searching

I have a UISearchBar and a UITableView positioned inside the view of a UIViewController. The table itself and the search function are working fine, but there is a problem with how the search results are layered over the top of the search bar. I'm sure there is something I have misconfigured, but being new to iOS development, I cannot figure out exactly what it is.
This is how the UISearchBar and UITableView are currently positioned within the view:
However, when your tap the search bar, the transparent overlay which appears covers it up. I would expect it to only appear below the search bar or perhaps for the search bar to move up?
If you begin to type, the search results appear, but the search bar itself has now been completed covered up:
I have tried the following:
Moving the UISearchBar to the header of the UITableView. The result of this is that, when searching, the search bar is moved to the very top of the view but when the search has finished, it then is positioned way off the the left so only the very right edge of the search bar is visible!
Disabling the Under Top Bars and Under Bottom Bars options under the Extended Edges options for the view controller (options in Xcode Interface Builder). This results in the same problem, except the Tab Bar and Nav Bar are a different colour (see image below, with keyboard hidden):
This view has been built using a Storyboard. Here is the heirarchy for reference (the Scroll View is hidden in all the screenshots as it only appears on the right once a search result has been tapped):

iPad popover not resizing properly after search keyboard is dismissed

I have a popover that contains a tableview (which is inside a navigation controller) with custom cells and a search bar in the header. Once I enter the search bar the popover shrinks appropriately to make room for the keyboard. Good so far. Once I dismiss the keyboard either by pressing the search button or the dismiss keyboard button, the popover appears to resize a little but does not does return to the full length as I would expect. I've tried all the suggestions to update the popoversize and contentsizeinpopover. They seem to have no effect.
Any thoughts or workarounds?
Thanks,
Rob

Resources