I am using UIPickerViewController to capture photo, but I am getting layout as below:
As you can see in image - The Switch camera button is not showing properly.
Below is my code
UIImagePickerController *imagePickerController = [[UIImagePickerController alloc] init];
imagePickerController.modalPresentationStyle = UIModalPresentationOverCurrentContext;
imagePickerController.mediaTypes = @[(NSString *)kUTTypeImage];
imagePickerController.sourceType = type;
imagePickerController.delegate = self;
imagePickerController.navigationBarHidden = YES;
imagePickerController.cameraDevice = UIImagePickerControllerCameraDeviceFront;
self.imagePickerController = imagePickerController;
[self presentViewController:self.imagePickerController animated:YES completion:nil];
I am not sure what am I doing wrong, Please suggest
Thanks
After trying many thing, I come to know that the issue is regarding Pixate Framework.
Thanks