uiimagepickercontroller

UIImagePickerController shows all text in weird capital case

假装没事ソ 提交于 2019-12-11 06:24:54
问题 I'm having an issue using UIImagePickerController, it works fine on my sample app and I've experience with this issue too. But for my current app, after supporting multi-language I'm having a weird issue. Image picker localization not working. That's not the main problem. The main problem is all the text is shown in capital case in a weird way. Please check the attached screenshot. This happens to iOS 8,9 and 10 all devices and simulator. I'm wondering if anyone can help me. Thanks 来源: https:

How can I fix the navigationbar title position in ios11

a 夏天 提交于 2019-12-11 06:06:03
问题 Here is the code [self presentViewController:viewController animated:YES completion:nil]; viewController is a UIImagePickerController When I presented in viewController , navigationbar title shifted. Please check the image. Does anyone know how can I fix it? 回答1: Using the following method to customize and change navigation bar button - (void)navigationController:(UINavigationController *)navigationController willShowViewController:(UIViewController *)viewController animated:(BOOL)animated {

UIImagePickerController takePicture not responding

左心房为你撑大大i 提交于 2019-12-11 05:57:03
问题 I init the UIImagePickerController: imagePicker = [[UIImagePickerController alloc] init]; imagePicker.delegate = self; imagePicker.sourceType = UIImagePickerControllerSourceTypeCamera; imagePicker.cameraDevice = UIImagePickerControllerCameraDeviceFront; and then use this method [imagePicker takePicture]; and I not get any call to the delegate method: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info Any idea why? 回答1: You don't

Why is imagePickerController.mediaTypes = [kUTTypeMovie as String] including Live Photos as Bounce or Loop Effect as Video?

不问归期 提交于 2019-12-11 05:49:34
问题 I'm using the UIImagePicker to pick only videos from my library and I set my media type to: imagePicker.mediaTypes = [kUTTypeMovie as String] I noticed that when the library is presented, even though I expect only videos, if there is a live photo in the library with a Bounce or Loop effect, it shows up also. If I take that same photo and switch it's effect to Live or Long Exposure it will no longer show up in the library. If I switch it back to Bounce or Loop it reappears. I've tried both the

Fails to load image from UIImagePickerController on next ViewController after segue

岁酱吖の 提交于 2019-12-11 05:24:08
问题 I am trying to load a picture selected on UIImagePickerController on the next view controller. i did some search on similar threads and found a few that helped me set it up, but the image does not really get 'transfered' to the next view controller. this is my code for the didFinishPickingImage and prepareForSegue: - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo { self.imageChosen = image; [picker

Adding CameraOverlayView on presentModalViewController gives me white space

╄→尐↘猪︶ㄣ 提交于 2019-12-11 05:14:49
问题 I've spent the last three hours here on StackOverlow and the rest of the day on Google but unfortunately I can't figure out what I'm doing wrong. I'm in a view launched by presentModalViewController: in this view I got some buttons and one is calling an IBAction method who will open UIImagePickerController instance modally. Until here it's all ok: what I'd like to do is make a custom UIToolBar with 3 button (to open Photo Library, Make a photo, Cancel). I did a new UIView with these objects

Images taken from camera roll take long time to display in uitableview

流过昼夜 提交于 2019-12-11 04:48:23
问题 I am using this class to take images from a UIImagePickerController/Camera , store them in the documents directory and display them to the user. Essentially this codes works, however it takes a very long time to actually display the data in the UITableView after the user selects an image (10+ seconds at least). Here is my class (not the full class, just the problem code): #import "ReceiptImageViewController.h" #import "ReceiptImageCell.h" @interface ReceiptImageViewController () @end

Unable to upload images in ios 11.0.3

二次信任 提交于 2019-12-11 04:28:15
问题 I am facing a really weird problem. I am trying to pick an image and upload the same after cropping it, to the server. I am unable to do it on my iphone 5s running on ios 11.0.3. But the same is working fine on iphone 5 which is running ios 10.3.3. I am using the following code to pick the image from gallery: func showImgPicker() { self.imagePicker.allowsEditing = false self.imagePicker.sourceType = .photoLibrary self.present(self.imagePicker, animated: true, completion: nil) } @IBAction func

UIImagePicker slideshow of images on selection

╄→尐↘猪︶ㄣ 提交于 2019-12-11 04:17:59
问题 Like the Photos App shows, all albums > all photos in a particular album > single photo view, even I need a similar kind of a view. I have used UIImagePickerController and easily go to the second step. However, whenever I select an image, I can not show a slide show kind of a view, as UIImagePicker does not give me that. I made another view controller , just to display these images in a pagenation form. But, from the delegate method, didFinishPickingMediaWithInfo , when an image is selected,

iPhone Memory Warning with Camera, but not Photo Library

痴心易碎 提交于 2019-12-11 02:06:36
问题 I'm consistently receiving a memory warning right after pressing the "Use" button on the UIImagePickerController in Camera mode. I used Instruments for the first time to try to figure out what's going on, but I don't see a problem. Before opening the image picker controller, my app is using ~2.0 MB of memory. It looks like both Camera mode and Photo Library mode allocate 9.0 MB of memory, but I only receive a memory warning in Camera mode. I could attempt to free some memory before opening