The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
1answer
12 views

Equally distribute spacing using Auto Layout visual format string

Is it possible to equally distribute left and right space for b in @"|-[a(5)]-[b(8)]-[c(5)]-|" using visual format strings?
0
votes
1answer
20 views

Autolayout with overlapping views

I've two views (Text/Image) where one covers the total width of the screen, the other one is an image which sits in lower right corner of the text view. Up to now I was not able write layout ...
1
vote
1answer
48 views

how to add childviewcontroller view over parent view in iphone

- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib. ChildViewController *childviewcontroller = [[ChildViewController alloc] ...
1
vote
1answer
81 views

Auto layout: auto update constraints when some view is empty

I have a view like this _______________________________ | | | | Label 0 | | ^ | | Label 1 | | ...
3
votes
1answer
129 views

iOS autolayout-move a view located inside a tableviewcell to the center of the screen

I have a tableview with cells containing text views as well as imageviews. My project is currently using AutoLayout. My goal is to get the imageview to display in fullscreen when it is tapped. One ...
0
votes
1answer
40 views

Fit iAd banner for 3.5“ and 4” layout

My App is an iOS application with TabBar at the bottom. I wish the iAd to be placed above the TabBar. adView = [[ADBannerView alloc] initWithFrame:CGRectZero]; [adView ...
0
votes
2answers
126 views

iOS autolayout constraints refresh

Main question : I have three labels (label1, label2, label3) one below the other. How do I align label3 below label1 if, during runtime, label2 is set to hidden or if removed from superview. Initial ...
0
votes
1answer
100 views

NSLayoutConstraint between Navigation Bar & ViewControllers View

Can we add a NSLayoutConstraint between self.navigationcontroller.navigationbar and a view inside the self.view. Here self is a UIViewController instance and _textField is a subview of self.view What ...
1
vote
0answers
40 views

Switching Auto layout on results in crashing the application on Mac OSX 10.7.5 only

Application crashes if I switch on "Use Auto Layout" feature for my xib file. The error on console is: "Assertion failure in -[NSAutoresizingMaskLayoutConstraint _setSymbolicConstant:constant:], ...
0
votes
1answer
57 views

NSAutoLayout: How to add element dynamically

I need to add an undefined number of NSButton to an NSView in code. The problem is that I can' t use constraintsWithVisualFormat: because i don' t know the name of the NSButton and also the number of ...
0
votes
1answer
51 views

NSAutoLayout standard space value

When using AutoLayout you can tick the "standard" box in Interface Builder or you can create it visually using... @"|-[someElement]-|" Is there a constant that I can use to access the value that this ...