4,112 questions
1
vote
1
answer
175
views
Picking image in iOS-first app when running it on macOS 26
An app that is capable of running on iPad can be usually run on Mac if properly designed and that's great.
Recently I've tried to launch one of my old apps on macOS 26 in "Designed for iPad" ...
0
votes
1
answer
74
views
I get the error: 'UIImagePickerController.InfoKey' (aka 'NSString') has no member 'editedImage'
This is the code I'm trying to use. All I get is an error:
Type 'UIImagePickerController.InfoKey' (aka 'NSString') has no member 'editedImage'.
My imports:
import UIKit
import Photos
import ...
1
vote
0
answers
40
views
Main Thread Checker: UI API called on a background thread: -[UIImagePickerController didDisplayPhotoPickerSourceType:]
Upon clicking on the navigationItem which opens a UIImagePickerController, I get the below log in the debugger, and cannot find any documentation that speaks about didDisplayPhotoPickerSourceType. ...
0
votes
0
answers
61
views
Terminating app due to uncaught exception 'Attempt to call unavailable initializer
I have a view controller with a button. Once clicked, a new view controller is suppose to be presented.
CropperViewController
@IBAction func cropImageAction(_ sender: AnyObject) {
...
2
votes
0
answers
30
views
show Interstitial ad after picking image from ImagePicker - flutter
I'm trying to display interstitial ad after user pick the image/video from the gallery but as soon as image is picked and I try to display ad, it throws the following error
The provided view ...
0
votes
0
answers
477
views
how to selected photos in android photo picker
Hey i need help regarding android photopicker
in this i select few images and able to show them in imageview
but i want to replace few images from those
i have list of selecteduri but no know ...
0
votes
0
answers
188
views
Maui ios: button events in UIImagePickerController.CameraOverlayView works on portrait but not in landscape mode
I am building a Maui app which requires custom camera view/control in order to play some audio and show some more info.
What I have so far is working as it should in portrait mode. Once my phone is in ...
1
vote
2
answers
466
views
UIImagePickerController crashes and throws errors after replacing image a few times
I'm working with UIImagePickerController for the editing feature it offers but I'm running into one slight issue. If I replace the image a few times, about 5-6 it will crash and return warnings like ...
0
votes
0
answers
234
views
Flutter image_picker - pickImage(source: ImageSource.camera) crashes on ios 17+
When using ImagePicker().pickImage(source: ImageSource.camera) the app crashes. Tried the example provided on pub.dev for image_picker.
On an Android device, it works. On iOS 16 or below, it works.
...
-1
votes
1
answer
115
views
How to get the crop rect of UIImagePickerController?
I want to draw over the imagePicker image section. I know that the image picker has an overlay view which you can use. However I want to add to the image section area only, so I need to get the crop ...
0
votes
1
answer
453
views
Getting the actual camera-preview frame when using UIImagePickerController
When using UIImagePickerController() it's easy to add an overlay image.
I'd like to dynamically get the "actual camera preview image area", i.e. indicated in a yellow box here:
(For example ...
1
vote
1
answer
894
views
Expo imagepicker pops up twice after permission is granted on iOS
I'm currently using the Expo imagepicker and it works well on Android phones. However, when choosing the "Select Photos" option on iOS, the photo gallery pops up again after permission is ...
0
votes
1
answer
112
views
When I pick image from library, the message below always appears. Why? [duplicate]
Error:
Publishing changes from background threads is not allowed; make sure to publish values from the main thread (via operators like receive(on:)) on model updates.
struct ImagePicker: ...
0
votes
0
answers
93
views
When I pick an image using UIImagePickerController, I am presented with AX Lookup problem - errorCode:1100
So firstly, when I present the image picker I get this error:
2023-08-03 16:47:45.979280-0700 MyAppName[7794:1889375] [AXRuntimeCommon] Unknown client: MyAppName
Then when I choose an image I get this ...
5
votes
1
answer
4k
views
New PhotosPicker in SwiftUI can open camera instead of the photoLibrary
is there any way to make the new PhotosPicker open the camera instead of opening the photoLibrary, I remember in the old UIImagePickerController there was this option user could choose in the picker ...