size-classes Questions
3
Solved
In my app, there are certain view controllers where on iPad (or to be more specific, a regular horizontal size class) it makes sense to present them as popovers, but on iPhone (or a compact horizon...
Cary asked 28/8, 2015 at 12:41
7
I basically want to have my subviews positioned differently depending upon the orientation of the iPad (Portrait or Landscape) using Sizing Classes introduced in xcode 6. I have found numerous tuto...
Ekaterinoslav asked 29/10, 2014 at 14:37
5
Solved
I'm tuning my UI App, but I got an issue that I can't solve.
As I can see Compact height affects all iPhones under 4.7 inches, but my UI is fine except for the iPhone 4S (3.5 inches).
I don't wan...
Watford asked 2/3, 2015 at 20:33
4
Solved
I have a ViewController designed for iPhone SE
As you can see I also have a constraint Align Top to: Safe Area Equals 75
The question is, is it possible to change this value for iPhone 8 and iP...
Antimacassar asked 6/2, 2018 at 20:3
0
The new size classes based Autorotation is a pain if you want custom behavior. Here are my requirements and flow:
View Controller 1(VC1) modally presents View Controller 2 (VC2)
VC1 only supports...
Negris asked 18/11, 2018 at 19:9
5
Solved
I'm working with adaptive Layout on iOS 8 and I want to get exactly what the size classes are on viewDidLoad. Any ideas about that?
Healthful asked 9/4, 2015 at 2:22
3
I try to set font size class of UITextView in storyboard, but it always shows system font (default font, size and color). It shows the correct font if I don't set font size class.
Here's a screens...
Retrospect asked 20/3, 2015 at 10:41
3
I've found this question and I've tried to implement the solution that has been given. However I run into a problem.
My initial view controller has two container views who both have their own view ...
Tessie asked 10/3, 2016 at 11:37
4
How to design iPad Landscape and Portrait screens with different Layouts using Size class.
I could find only w-regular and h-regular for both orientations. Example: I need to align 2 views vertical...
Delladelle asked 30/12, 2014 at 6:9
7
Solved
In iOS 8, we can design a different UI layout for each size class. The issue I'm facing is, I've designed a layout for Compact Width and Regular Height (size class for all iPhones in portrait) but ...
Mortality asked 21/1, 2015 at 20:13
4
Solved
So I'm trying to create a UIScrollView only in storyboard that allows me to add scrolling labels for more than the height of the VC. Here's what I did:
Created UIScrollView that took up the size...
Colicroot asked 4/11, 2014 at 18:21
1
I am working on universal iPhone/iPad application with universal storyboard. For some ViewControllers I'm using size classes if they has some specific layout on iPad.
I have one ViewController tha...
Haleakala asked 19/1, 2015 at 16:3
4
Solved
I have a four buttons layout. In portrait they should be shown one above the other. In landscape they should be in two columns each with two buttons.
I implement the buttons in code - really simpl...
Maximalist asked 5/9, 2014 at 12:22
2
Solved
Is it possible to give a constraint a different multiplier depending on the current size class?
I have a view that I want to be half the size of the screen for a regular size class width and I wan...
Putt asked 1/12, 2014 at 12:2
3
I converted my storyboard from old project with about 30 scenes to Size Classes-enabled mode in Xcode 6. After setting constraints for at least one scene I am trying to compile project and Storyboa...
Dysentery asked 11/12, 2014 at 20:57
1
Solved
Ok I've finally taken the plunge into autolayout using Xcode 8.
I might conceptually have the wrong idea. However I have a view in IB which has 2 labels a button and an imageview dead center in th...
Greyhound asked 2/11, 2016 at 15:9
2
Solved
I want a view to have width 0.4 screen width in landscape and 0.5 screen width in portrait.
So I have tried "vary for traits". I selected wC hR and set 0.5 and clicked "done". Then I selected wR h...
Leech asked 2/2, 2017 at 11:5
6
Solved
I made a special test app for this case. (I'm sorry it is already removed)
I added a view on my controller's view in Storyboard, set up AutoLayout constraints in Interface Builder and made one of ...
Ehudd asked 5/6, 2015 at 9:57
2
Solved
I was very happy to learn that Size Classes are backward compatible with iOS 7 (in some cases). Now I'm wondering - is there a way to use Size Classes to distinguish between iPhone 5, 6 and 6 Plus?...
Oeillade asked 7/2, 2015 at 10:54
0
Since few days ago I'm getting this error and I'm completely stuck on my project.
This is just a Runtime issue, I can run my project but can't touch interface builder at all.
Didn't change anythi...
Mennonite asked 11/11, 2016 at 20:31
2
I have a layout with size class width any, height any which is currently working for iPad landscape. I have a task to design same layout for iPhone portrait.
When I started designing with size cla...
Slinky asked 23/8, 2016 at 14:38
14
Xcode 6 has a new feature where fonts and font sizes in UILabel, UITextField, and UIButton can be set automatically based on the size class of the current device configuration, right in the storybo...
Decemvir asked 2/10, 2014 at 18:1
2
I'm using viewWillTransitionToSize to detect when a device is rotating to landscape. Depending on the target size, I can detect if heading for landscape and adjust my traits as required...
overrid...
Occident asked 2/3, 2015 at 22:51
1
This is how it looks like in my storyboard and Preview:
And this is what I set up in storyboard for that UIStackView:
But everything changes when I run this on real device:
Why it happens ...
Corabelle asked 15/6, 2016 at 7:37
2
I am working on a specific size class layout of an xcode project and I hit a snag.
My constraints got very messed up and I want to restart the view.
Is there a way in the interface builder for me...
Fleury asked 6/10, 2014 at 18:19
1 Next >
© 2022 - 2024 — McMap. All rights reserved.