UIModalPresentationFormSheet on iPad in landscape mode

Posted by Ivan on Stack Overflow See other posts from Stack Overflow or by Ivan
Published on 2010-06-15T10:18:16Z Indexed on 2010/06/15 10:22 UTC
Read the original article Hit count: 1298

I created a UIViewController view from XIB with modalPresentationStyle set to UIModalPresentationFormSheet and everything works great in portrait mode. When I switch to landscape the view gets moved upperleft (it's not centered as it should be) and most part of it is clipped.

Any ideas why this is happening and how to solve it?

Thanks

© Stack Overflow or respective owner

Related posts about cocoa

Related posts about cocoa-touch