I have set autoresizing property for a search bar in xib(for iPad) as shown:
Now:
i think i should set some property in mainView of interface builder, but dont know, which property, if you have any suggestions, please share it.
if i remove both the middle one and right line then i get something like this:
Just remove right red line from XIB autoresizing View as following image shows:--
Or try removing autolayout
DONE
PORTRAIT MODE
LANDSCAPE MODE