ios - UIImagePickerController cannot push camera button in landscape mode -


i want solution problem. problem app cannot take picture in landscape mode.

i use uiimagepickercontroller in app. , in portrait mode, it's okey in landscape mode, cannot push camera button , cancel button.

if rotate portrait mode, can push buttons. plz let me know solution~ thanks~

iphone 6 plus ios8.3 -> landscape, portrait both okey

iphone 5 ios8.1.2 -> landscape no, portrait okey

iphone 5s ios 8.1 -> landscape no, portrait okey

the code part call uiimagepickercontroller

    uiimagepickercontroller *imagepickcontroller=[[uiimagepickercontroller alloc]init]; imagepickcontroller.sourcetype=uiimagepickercontrollersourcetypecamera; imagepickcontroller.delegate=self; imagepickcontroller.allowsediting=true; [((ffwebviewcontroller*)[uiviewcontroller currentviewcontroller]) presentmodalviewcontroller:imagepickcontroller animated:yes]; 

i solve problem. it's ios version issue.

i update 8.1.1 -> 8.3 , 8.1 -> 8.3 then, can take picture in landscape mode. 8.1 version issue? can not sure it.

anyway... 8.3 version it's okey!!!


Comments

Popular posts from this blog

python - TypeError: start must be a integer -

c# - DevExpress RepositoryItemComboBox BackColor property ignored -

django - Creating multiple model instances in DRF3 -