0
votes
1answer
26 views

Xcode constraints for specific layout

I'm trying to get a specific layout in Interface Build using constraints, but can't figure out the constraints I need. I'll try and demonstrate what I'm after using a diagram. I've got a header with a ...
1
vote
1answer
35 views

Auto Layout view resizing frustrations when designing in Interface Builder

Problem: UIView size is "locked" when designing with Auto Layout in IB I've uploaded a 20 second video that illustrates my problem, but let me describe it. You may recognize the project: it's right ...
0
votes
2answers
36 views

autoLayout resize buttons for Retina 3.5/4"

I have a view with buttons optimized for iPhone 4. The buttons fill the whole screen. If the user have a phone with retina I want the buttons to still fill the screen. If the user have a iPhone 4 the ...
0
votes
2answers
39 views

How can I move across two child view controllers with autolayout?

I'm making a view controller with a left sidebar container view and a main container view that is a navigation controller. Here's a picture of it: I'm using autolayout so I may only use ...
0
votes
3answers
58 views

Working with AutoLayout in Portrait and Landscape

Auto Layout, as good as it is, driving me crazy with constraints. I have the portrait mode designed in IB but I can't get the desired landscape orientation to work. Notice that when the ...
0
votes
2answers
59 views

Xcode Auto Layout: Can't resize window

What I want to achieve: Custom View 1 aligned at the top fixed height = 20px width = window width Horizontal Split View just below the custom view width = window width height = as ...
1
vote
1answer
91 views

Autolayout With UILabel Behavior is Unexplainable

I have a super basic program where I am trying to figure out how autolayout works. This is my storyboard: The TableViewController orientation setting is "inferred". The numberOfLines setting has ...
0
votes
0answers
31 views

How to resize UIView based on constraints in IB

As this question points out, it's possible to resize a UIView added to a nib manually by setting its Size property to Freeform. However, making that change does not appear to allow the view to resize ...
0
votes
1answer
82 views

How to stop interface builder resetting user constraints on UIScrollView?

I'm having trouble getting a UIScrollView to respect the constraints I put in interface builder. All I need to be able to do is set the content size of the scroll view from within IB. The ...
1
vote
0answers
45 views

Unexpected behavior using Autolayout with NSSplitView

I have the following implemented with springs and struts along with several NSSplitViewDelegate resizing and constraint methods and it all works as desired. I am now trying to adopt autolayout for ...
2
votes
2answers
971 views

UITableViewCell autolayout

I have a problem with autolayout. I have a UITableViewCell and a view inside. I want this view to be smaller than the cell so I've added constraints: Vertical space (10) top Vertical space (10) ...
0
votes
1answer
100 views

autolayout constraints not placing container view properly

The first image shows the constraints on the bottom container view. "Bottom space to superview" is set to 0. I want the container to be anchored to the bottom of the screen no matter what the screen ...
0
votes
1answer
86 views

view in container view does not align properly

The view controller on the left has 2 containers ("the top container" and "the bottom container"). The top container has the constraint bottom space to superview = 60. The bottom container has a ...
0
votes
1answer
136 views

xcode 4.6 autolayout doesn't right align view to scrollview

I'm using iOS 6 auto layout. I have the portrait mode created with Interface Builder. I have a UIScrollView inside the UIView (Controller class view). I set two labels: one is right aligned to the ...
0
votes
1answer
267 views

Xcode Autolayout: Place a label next to a dynamic label at a constant distance

Check out the loading date label. It could be '2 May' or '24 December'. I want to display the label 'days remaining' after it. Since the width of 'loading date' is dynamic, via auto layout I ...

1 2 3 4 5 8
15 30 50 per page