문제

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:--

enter image description here

Or try removing autolayout

enter image description here

DONE

PORTRAIT MODE PORTRAIT MODE LANDSCAPE MODE LANDSCAPE MODE

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top