0
votes
1answer
27 views

Autolayout+UIView+Its subview

I have a UIView and it has another UIView and some UIButtons as sub view.I gave vertical constraint to my view and last UIButton.Those UIButtons are one after the other vertically designed like radio ...
0
votes
0answers
60 views

UIScrollView+setContentOffset+AutoLayout

Some UITextFields and UIButtons are subviews of a UIScrollView. I set autolayout property. All working fine except I had the problem when I click on a textfield to type. I gave ...
0
votes
0answers
68 views

Crash while using Autolayout

I have an app that works very will without Autolayout. After I introduced Autolayout and made sure all the "Constraints not satisfying" type messages disappear from the console log, I can load my view ...
0
votes
2answers
115 views

Autolayout and Constraints for iPad

I'm quite confused about the new auto layout feature of xCode 4.5. Here is I want to do, By setting the storyboard, I have this portrait view set up. By using autolayout and constraints(and pins), ...
1
vote
3answers
264 views

AutoLayout for viewcontroller's xib?

I m confused about the usage of AutoLayout.I couldn't understand when to use it and when not to .I m developing an app in Xcode 4.5 and when I test it on prevoius versions of simulators(4.3,5.0)etc ...
0
votes
1answer
284 views

AutoLayout problems in iPhone5

I have a Xcode 4.5.2 Project I have a story board with with four UIViews. Autolayout is Set to ON in the StoryBoard Deployment is iOS 6 I want the letterbox to appear on top and bottom when running ...
0
votes
0answers
141 views

xcode autolayout resizing superview

When I create a cocoa application using the standard template (I'm assuming I haven't modified anything) and i jump into the .xib file to add stuff, when I go to resize those stuffs, it resizes the ...
5
votes
3answers
2k views

Where to set translatesAutoresizingMaskIntoConstraints in Xcode 4.5

I need to set translatesAutoresizingMaskIntoConstraints to NO. By default it is set to YES (to assist with the majority of apps that are transitioning from struts and springs to the new Auto Layout). ...
0
votes
0answers
136 views

subclassing UITableViewCell, horizontal constraints to cell edge not working

I've created a subclass to UITableViewCell. It loads a .xib that contains various items (Imageview, button, several labels). The ImageView, button, and one label have horizontal constraints set ...
1
vote
2answers
531 views

iOS 6 Xcode 4.5 Auto layout Trouble

Hi i have been trying to arrange this over and over with no progress. I have been following a Core Data Book and its a little old and it doesn't explain the new Auto Layout features. I have two views ...
1
vote
0answers
113 views

How to rearrange views with iOS Auto Layout

I'm trying to wrap my head around auto layout. I think I get it for the most part (probably missing something), but how would i set up the views pictured below? Without auto layout, I would just test ...
0
votes
1answer
178 views

Non-resizing slider in XCode first tutorial

I've just finished the Your First App tutorial for OS X. Except I notice that in the final section on "Polish", the effect of resizing the window is not at all like the expected screenshot. That ...
11
votes
3answers
812 views

How to set the Identifier of a UIView in Xcode 4.5/iOS for debugging auto layout?

During a talk from WWDC 2012 (Best Practices for Mastering Auto Layout), the presenter said that you can set a UIView identifier in Xcode to aid in debugging auto layout: This seems like a really ...
30
votes
15answers
10k views

“Auto Layout still required after executing -layoutSubviews” with UITableViewCell subclass

Using xCode 4.5 and iOS 6, I'm developing an app with a simple table view with custom cells. I've done this a hundred times in iOS5 and below, but for some reason the new autoLayout system is giving ...
0
votes
1answer
1k views

auto-layout required for easy 3.5in + 4in iphone screen layout?

I'm updating an old app to the new iPhone sizes and I ran into a problem. Auto-layout broke several pieces of an old storyboard. No problem, just go in and uncheck auto-layout. Run again (3.5in ...