Not able to show the Image in proper format from camera in landscape mode

后端 未结 6 933
我寻月下人不归
我寻月下人不归 2020-12-17 19:56

I am working on iPad App in Ios6, There when we click the right bar button i am giving an action like below:

-(IBAction)camerabuttonAction:(id)sender
{
    U         


        
6条回答
  •  天命终不由人
    2020-12-17 20:29

    I study about your issue in Google search and got some result or possibility like bellow point:-

    result 1

    some Answer say's that its a iOS 6 bug so you can not fixed It like bellow Quetion:-

    iPad camera popover preview wrong rotation and scale

    result 2

    I don't think we can control orientation of camera.Camera orientation property is inbuilt,which changes with orientation of device.

    iPad camera orientation portrait mode?

    result 3

    you can manage Scaled live iPhone Camera view in center physically move the picker frame. by Bellow code:-

    [picker.view setFrame:CGRectMake(xOffset,yOffset,picker.view.frame.size.width,picker.view.frame.size.height)];
    

    hope you got actually solution. about this bug or issue

提交回复
热议问题