3
votes

I am new in iOS developing. I am developing an application for portrait and landscape for iPhone. When i am running app Its running properly in Portrait mode.

But When I change mode from portrait to landscape my view is not going to display proper.

Below I have attached images or portrait mode and landscape mode.!

portrait mode image

Landscape mode image

Problem :- There are two button in portrait mode but there are only one button in landscape mode.. I have tried number of combination of resizing. But dont getting proper output.

Thank you in advance.

1
u using the autolayout or autoresizing - Anbu.Karthik
if u are using the auto resizing just check through the url one time for reference raywenderlich.com/20881/beginning-auto-layout-part-1-of-2 - Anbu.Karthik
No.. I have unchecked all... autolayout and autoresizing. - Er.Shreyansh Shah
plz just go through the above link, if it is correct surely work for all orientation, otherwise u will not get the correct answer - Anbu.Karthik
Okkk.. Thanks buddy. I ll. Thanks a lot for ur valuable time. - Er.Shreyansh Shah

1 Answers

3
votes

Thanks for all.

I got My answer. as below

Image

Also Uncheck autoresize subview property of both buttons.