iOS constraint guidelines

Solution:

Constraint are very easy if you understand that with logically.First you have to think your need for design then proceed that.

It had an alignments that with left,right,top,bottom also width,height and center of the view.

If your view wants to be aligned left then first set the left,top and bottom.If the width varies based on the view then don't set the width.Also height too...

If your two views or buttons wants to be the same width.then select both the views and select that option called equal width.

If you wants that view wants to be aligned vertically or horizontally to the superview then select the view and check the options.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift