iphone - UIImagePickerController issue in IOS6 -
In my application I have integrated the UIImagePickerController to capture the image in the IOS 6 version device, if I use UIImagePickerController while rendering. From the running to the scene (the camera running mode) and come again, the status bar at the bottom of the visual alignment is automatically changed (Y is automatically incremental coordination.) It works fine in iOS 5.
Before the orientation problem occurs.
to display UIImagePickerController The code used
picker = [[UIImagePickerController alloc] init]; One a picker.delegate = (id) itself; A picker.allowsEditing = Yes; A picker.sourceType = UIImagePickerControllerSourceTypeCamera; [Self present ViewController: animated picker: yes complete: zero]; Guide me to fix this issue. Thank you. Instead of presenting the Uiimagepicker view controller, simply add it as a sub-view using the appropriate frame, such as
[picker.view setframe: cgraactemake (picker.view.fr.fr.engin.exe, picker.viewframe.origin.a-20, picker.viewover.fr. size.width, picker.view.frame.size .height)];
Comments
Post a Comment