KiranGit
KiranGit

Reputation: 61

3.5inch screen cannot accommodate all subviews

I have 3 labels .First one at the top of the screen, second in the middle and third below. I used both( size class(cW rH)+ autolayout)to layout the labels.The third label appears in all sizes expect the 3.5inch screen. Can autolayout and/or size class help me accommodate my third label in some way?.I know putting a scroll view or doing programatically will help me achieve what i want but just want to know whether the current iOS SDK is intelligent enough to cut this.

Upvotes: 1

Views: 61

Answers (2)

Nischal Hada
Nischal Hada

Reputation: 3288

I have Submit label as third label and I did following for it . Try using it and dont forget to click add constraint after doing it enter image description here

enter image description here

Upvotes: 0

Zealous System
Zealous System

Reputation: 2324

You have to use different constraint for each label.

Please check below screenshot to understand how to set constraint to each label.enter image description here

May be it will help you to set labels.

Upvotes: 1

Related Questions