ios - Issue with UIImagePickerController library source -


when open uiimagepickercontrollersourcetypephotolibrary, frame of editing view not in alignment picture. here code:

uiimagepickercontroller * picker = [[uiimagepickercontroller alloc] init] ; picker.delegate = self; picker.sourcetype = uiimagepickercontrollersourcetypephotolibrary; picker.allowsediting=yes; [self presentviewcontroller:picker animated:yes completion:^{}]; 

here screenshot showing problem:

as can see, top part of editing view frame above actual image. appreciated.

edit: issue occurs iphone 6 , 6+. works fine iphone 5s.


Comments