Is it possible to retrieve the frame a UIView will have in landscape mode, whilst the device/interface is in portrait mode? If so, how is this done?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
MrThys, you should know how your view should be, either in portrait or landscape mode. After that, you can define them as constants like this:
You could then use these values when your device changes orientation. 🙂