Respected Sir,
 Here i am using the uiimagepickercontroller to open the camera and taking the picture its ok.But how i need to lock the landscape mode for uiimagepickercontroller.Here i attached the some code of lines

```
    UIImagePickerController *imgPkr = [[UIImagePickerController alloc] init];
    imgPkr.delegate = self;
    imgPkr.sourceType = UIImagePickerControllerSourceTypeCamera;
    imgPkr.cameraDevice=UIImagePickerControllerCameraDeviceFront;

    imgPkr.cameraOverlayView = anImageView;
    [theApp.TabViewControllerObject presentModalViewController:imgPkr animated:YES];
    [imgPkr release];

```

Thanks