How can we check that if selected image is in Landscape or in portrait mode…
Actually i am using imagePicker and want to make it look perfect…..
because if it is in portrait mode then there is some white space in my imageView
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.
Before selecting the image ,you could use the UIDevice class to get the current
orientationof Device,Use below to get the screen orientation.
Apple documentation for UIDeviceOrientation.