Finding screen size of camera view
I am using UIImagePickerController
in my application. I am trying to get the camera view's size.
I used:
UIImagePickerController *picker = [[UIImagePickerController alloc] init];
then I tried to get the CGRect
f开发者_运维技巧rom
CGRect rect = picker.view.frame;
but the rect I got included the Controll Bar. I want to get the size of the view without the control bar. Anyone got a clue? I tried to search related topics, but so far didnt get anywhere. Thanks a lot.
精彩评论