UIVIew layout and orientation changes

Posted by Raja Marimuthu on Stack Overflow See other posts from Stack Overflow or by Raja Marimuthu
Published on 2010-03-24T05:59:56Z Indexed on 2010/03/24 6:03 UTC
Read the original article Hit count: 588

Filed under:
|
|
|

Hi,

I am supporting all orientation for the iPad app. I am adjusting the my view with autoresizingMask for orienttaion changes (main view and tabbar) . But the subviews in the main view are flowing out of the mainview in landscape mode. so i forced a "setNeedsLayout for the mainview, making subviews in mainview to fit into the mainview boundary.

But the issues is that subviews added in the lower part fo mainview are not responding to touches in landscape mode, but working fine with portrait mode.

Any F1 ?

© Stack Overflow or respective owner

Related posts about uiview

Related posts about orientation