dormitkon
dormitkon

Reputation: 2526

UIImagePickerController camera view overlay based on rotation

I want to notify users to take photos only in landscape mode. I got idea to put some overlay on camera view and if iPhone is in portrait mode to put some label with text "Use landscape mode instead of portrait".

Is it posible? Do you have some advice how to make this posible?

Upvotes: 0

Views: 1285

Answers (1)

Tatvamasi
Tatvamasi

Reputation: 2547

You can have Text (label) on your overlay form (with the note). In the UIImagePickerController delegate check for orientation using , UIInterfaceOrientationIsLandscape and unhide (hide) the text.

I prefer displaying the text through out (irrespective of orientation) to the user for better user experience.

Upvotes: 1

Related Questions