I am using a universal storyboard and sizing to handle both the iPhone and iPad. This has been working well except when it comes to popovers. That is a screen that will be a popover on an iPad but a modal screen on the iPhone. I am finding that the only size class that will impact layout for both is wAny hAny I want to use Final Values for each so that the behavior will be as I want for each device. However, unlike regular screens this type seems to only respond to wAny hAnyfor both iPhone and iPad. Should I not be able to set each separately to accommodate the different devices?
Universal Storyboard Sizing Popover for iPhone and iPad
319 Views Asked by C6Silver At
1
There are 1 best solutions below
Related Questions in OBJECTIVE-C
- How do I customize NSOutlineView to have border color?
- UIWebView Screen Fitting Issue
- How to hide "Now playing url" in control center
- CloudKit: Preventing Duplicate Records
- Image and Text locations in UIButton
- setting OpenGL version in objective-C
- Setup code for xibs in iOS. -awakFromNb:
- realm db, get parent link of object
- CFBundleDocumentType is not working in myproject-Info.plist file
- UIPopoverPresentationController not rendering properly
- Using Storyboard Reference
- Pass Data between two view controllers using 'Delegation' : Objective-C
- Unexpected CALayer Vertical Flipping on 3D Rotation 'Bounce'
- Setting View orientation to portrait is ignored
- UITextField append / between dates while enforcing character limit
Related Questions in XCODE6
- iOS: None of the valid provisioning profiles allowed the specific entitlements
- UIWebView not loading URL in simulator
- How to set the time of Local notification in app to random between two times? (swift)
- Can Clang Static Analyzer be used with Swift?
- Xcode Interface Builder loading XIB file show view with transparency
- Getting dyld_fatal_error Xcode 6.3.2
- UIVIew from XIB with Autolayout to UItableView Header
- How can I get the length of text entered into UITextView as the user types?
- SDWebImage error for loading image
- UIWebView contents are not showing
- How can I get an image to fit the whole screen?
- Custom font iOS 8 not effect in device
- Swift: NSDate losing sub-Second precision after loading
- Property 'package_number_7' not found on object of type 'User *' after Lightweight Migration
- Xcode 6 archive process does not fire pre/post/build phase script for auto build increment
Related Questions in UNIVERSAL-STORYBOARD
- Most efficient way to reference 2 different IBOutlets at once (where each one only exists for it's own size class)?
- position a view in storyboard at 1/3 of screen size
- creating complex layout in storyboard
- Links to learn storyboard
- How to mimic 2 different row heights for a UItableview in universal storyboards based on size class?
- How to make uiview's width fit to the width of the parent view with some padding for both iphone and ipad using universal storyboard in xcode 6?
- How to create UIScrollView using universal story board?
- PSD For Universal storyboard
- Universal Application in Xcode 6 using Universal Storyboards
- UIPopOverController shrinking when presenting alert controller
- Xcode 6 - "universal storyboard" projects will support iOS 7?
- Universal storyboard UITableview row Height
- iOS 8 AutoLayout: dilemmas with centring UITextView
- Universal Storyboard Sizing Popover for iPhone and iPad
- iOS 8 Universal storyboard for different View Controllers
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?
Since iOS 8, you don't need to handle popovers separately on different size classes. They are handled automatically by a
UIPresentationController.If the
modalpresentationStyleproperty on theUIViewControlleris set toUIModalPresentationStyle.Popover, UIKit will present it, using aUIPopoverPresentationController, as a popover on a regular size class (iPad) and modally on the compact class (iPhone).If you're using storyboards you can control it on the segue and setting the segue attribute as Present As Popver: