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.
UIImagePickerController Size iPhone 5
1.6k Views Asked by Matt Rees At
1
There are 1 best solutions below
Related Questions in IOS
- Overlapping UICollectionView in storyboard
- Cannot pod spec lint because of undeclared type errors
- Is the transactionReceipt data present in dataWithContentsOfURL?
- UIWebView Screen Fitting Issue
- ZXingObjC encoding issues
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Slow performance on ipad erasing image
- Swift code with multiple NSDateFormatter - optimization
- iOS 8.3 Safari crashes on input type=file
- TTTTimeIntervalFormatter always returns strings in English
- How do I add multiple in app purchases in Swift Spritekit?
- Setup code for xibs in iOS. -awakFromNb:
- iOS Voice Over only reads out the title of any alert views
Related Questions in IPAD
- Setting View orientation to portrait is ignored
- How to force close ipad/iphone keypad when input element is not focused using JS?
- UIDocumentInteractionController presentation style
- iOS coordinates for iPad and iPhone game using spritekit
- What is the best practice when making a storyboard for iPhone and iPad?
- Exchange plist data between 2 iPad using iCloud
- an app supporting arm64 and armv7 running on arm64 and ios 7 ipad air
- My SIOSocket get disconneted automatically when i locked my ipad
- using livestream video in iOS application
- Always shown vertical and horizontal scroll indicator on a uiwebview
- Is it possible to opt your iPad app out of multitasking on iOS 9
- Bind html button click with objective c
- iPhone App won't run on ipad at 2x resolution
- Missing icon and storyboard files, iOS 7 and 8, Xcode 6
- iOS infinitely deeply nested TableView/UIGestureRecognizer view tree AND iPAD requires 2 finger scrolling on a tableview
Related Questions in UIIMAGEPICKERCONTROLLER
- saving a movie in swift
- UIImagePicker - Do not allow panorama to be picked
- setImage: unrecognized selector sent to instance
- I cannot edit picture using UIImagePickerController in Xcode6
- Implementing UIImagePickerController in Swift
- Objective c - ios : How to pick video from Camera Roll?
- iPhone/iPad Camera Overlay View AutoRotation Issue UIImagePickerController
- How to detect privacy permission changes (Camera access for example)
- UIImagePickerController crashing in Xcode 7 beta
- Getting a crash due to NSXPCDecoder didHideZoomSlider on iOS 8 after taking a picture
- How to disable the Copy/Hide feature in UIImagePickerController when long pressing a image ...?
- UIImagePickerController didFinishPickingMediaWithInfo not being called when cameraOverlyView property is assigned
- How to edit metadata of image in iOS8?
- Unabe to get image path & image from UIImagePicker in ios using simulator?
- Custom Camera Overlay Not Working on iPad
Related Questions in IPHONE-5
- iOS: test app for iPhone in iPad, screen size
- How to fix iPhone screen width using 4 inch storyboard using auto layout?
- iOS 8.x alternative to detect iPhone 5s, using [UIScreen mainScreen].bounds.size.height == 568.0
- Xcode 6.1 not showing launch image on ios 8.1
- How to detect iPhone 5 screen in iOS 8
- iPhone6 View is not displaying properly in iPhone5
- I can not install ipa on my device
- How to consolidating the translucency of the navigation bar between iPhone 5S and 5?
- IOS app crashes on iPhone 5
- Xcode quit unexpectedly while using the dsc_extractor.bundle plugin
- Custom Tableview getting crash in iPhone5(iOS7)
- The iPhone 5 has 3 mics. Can I change from which one I'm recording?
- setting image on UITabBar shows an extra line on Image
- Perform action as soon as camera opens ios
- UIImagePickerViewController camera preview black screen on iPhone 5 working fine on 4S
Related Questions in CAMERA-OVERLAY
- Custom Camera Overlay Not Working on iPad
- Using cameraOverlayView with UIImagePickerController
- How to create a cameraOverlayView
- How to remove title bar using surface view for adding camera overlay in android
- Button on cameraOverlayView not working
- create dynamic camera overlay that changes with scences
- Exlusive touch in cameraoverlay view (of the camerapicker) in iOS?
- renderincontext works fine in portrait but not landscape
- UIActivityIndicatorView not showing on theCamera overlay view when image taking done
- Touch-To-Focus on cameraOverlayView in iOS 5?
- Detect when camera flash button is pressed?
- Crop Image using CGRect
- UIImagePickerController Size iPhone 5
- What is the correct cameraViewTransform to apply to UIImagePickerController?
- IOS Change Camera icon for custom camera overlay
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)
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?
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.