I'm building an app using the UIImagePickerController and a custom Overlay. With the iPhone 5 screen size adding 88 points but the camera view port staying roughly the same size I was wondering how people have tackled this issue? I'm really against hardcoding values or making assumptions based on screen height, especially with Apple rumoured to be releasing another device with another set of screen dimensions next week.
Related Questions in IOS
- URLSession requesting JSON array from server not working
- Incorrect display of LinearGradientBrush in IOS
- Module not found when building flutter app for IOS
- How to share metadata of an audio url file to a WhatsApp conversation with friends
- Occasional crash at NSURLSessionDataTask dataTaskWithRequest:completionHandler:
- Expo Deep linking on iOS is not working (because of Google sign-in?)
- On iOS, the keyboard does not offer a 6-character SMS code
- Hi, there is an error happened when I build my flutter app, after I'm installing firebase packages occurs that error
- The copy/paste functionalities don't work only on iOS in the Flutter app
- Hide LiveActivityIntent Button from Shortcuts App
- While Running Github Actions Pipeline: No Signing Certificate "iOS Development" found: No "iOS Development" signing certificate matching team ID
- Actionable notification api call not working in background
- Accessibility : Full keyboard access with scroll view in swiftui
- There is a problem with the request entity - You are not allowed to create 'iOS' profile with App ID 'XXXX'
- I am getting "binding has not yet been initialized" error when trying to connect firebase with flutter
Related Questions in IPAD
- Site loads on iPad/Chrome but not on iPad/Safari
- Possible to use NFC for iPad
- Intune IpadOS disable Safari quick notes
- Does anyone know how to make iPad layout the same as iPhone's? Size wise the text and overall layout get's smaller when I run the app on the iPad
- How to setup different launch screen image for iPad portrait and landscape mode?
- Appear Circles in ZStack exact image position as navigationSplitView (.balanced) opens or close
- Can I use VS code on Ipad
- Webapp exiting fullscreen when dragging mui slider in iPads
- Why are pointer events disabled when using Apple's pencil in Safari?
- @media print @page margins not working on Mac Safari and iPad
- FontAwesome Icons displays as white on iPad instead of Black as on other platforms making them almost invisible
- SwiftUI .autocorrectionDisabled() behavior not updating with @State BOOL
- SwiftUI Previews Multitasking Options
- Flutter - how to prevent an app being closed by user on IpadPro (iPadOs 17)
- ipadOS 17.4: AVCaptureMetadataOutput delegate not called (qrscanner)
Related Questions in UIIMAGEPICKERCONTROLLER
- UIImagePickerController crashes and throws errors after replacing image a few times
- Flutter image_picker - pickImage(source: ImageSource.camera) crashes on ios 17+
- How to use a volumebuttonhandler to take a picture in iOS
- How to get the crop rect of UIImagePickerController?
- Getting the actual camera-preview frame when using UIImagePickerController
- Get part of the image taken with default camera
- Expo imagepicker pops up twice after permission is granted on iOS
- Swift AVAssetExport Session operation stoped
- When I pick image from library, the message below always appears. Why?
- When I pick an image using UIImagePickerController, I am presented with AX Lookup problem - errorCode:1100
- Error dismissing image picking and cropping views when using TOCropViewController to pick images in SwiftUI
- New PhotosPicker in SwiftUI can open camera instead of the photoLibrary
- NSInvalidArgumentException', reason: 'The Live Photo type cannot be specified without the Image media type'
- why does UIImagePickerController.isSourceTypeAvailable(.camera) return true when using the simulator
- UIImagePickerController shows all photos even if I choose "Select Photos.." option Swift
Related Questions in IPHONE-5
- How to connect with iPhone 5s in Xcode 14.3?
- device-aspect-ratio is deprecated
- Xamarin.Forms and App Center: unable to install iOS release on iPhone 5s
- How can I code an iOS app while on my iPhone without a pc
- Only on iPhone 5: swipe event hits element underneath select list depending on list length
- push token's delegte method not invoke in Specifically in iPhone 5s with ios 12.4.5
- Links not working on iPhone 5C
- angular 5: Angular 5 app not rendered on iphone 5
- Message from debugger:Terminated due to Memory Error
- App crashes on only iPhone 5 when adding GMSMarker to the map: EXC_BAD_ACCESS
- Getting an iPhone 5 to use the 'correct' css rules
- How to get video to autoplay on older iPhones?
- UIView button not visible on iPhone 5 despite constraints
- How to find the cause of a 100% CPU usage on an iPhone App when i use ionic2
- Apple Mach-O Linker (ld) Error Group when run in iphone 5 Device
Related Questions in CAMERA-OVERLAY
- How can I create a virtual camera in Android to overlay on top of the real phone camera or create a new virtual camera source?
- Is there any way to overlay a image.png on the camera preview of Flutter Image_picker library to guide the user while capturing photo?
- How can I crop an image captured with Flutter camera based on a rectangle overlay?
- How can I add dark shading to an outer div but not inner div with css?
- Issue with cropped images in flutter_camera_overlay
- How to add an Overlay Image to camera before take a picture in JavaScript
- How to make camera background darker other than rectOfInterest in Swift 5, XCode 11
- How Capture image using camera 'Circle' overlay and Save it on path in Xamarin.forms (Android)
- How to add button in Content Page to Capture Image using Custom Renderer- View
- Overlaying FEA on video stream
- Display a rectangular bounding box (overlay) on custom Camera2 API so only the image inside the box is captured
- React Native - Overlay in Camera
- How to Implement Dependency Service for Camera Overlay in Xamarin.Forms Using the Media Plugin?
- adding UIlabel to camera overlay view uiimagepickercontroller Xcode objc
- Detect when camera flash button is pressed?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Unfortunately with this being a private View Controller, you really can't safely probe into it to see what's really going on. What I've determined is that the toolbar has gone from about 54 pixels to about 92, but hard-coding such things is probably going to end up biting you someday.
I ended up rolling my own camera using AVFoundation .... this gave complete control over the scale and location of the preview view, and also any overlay you want to put on top of it.
You can download Apple Samples like SquareCam which will give you much of what you need, and abandon UIImagePickerController altogether.