Above mentioned VisualFormat string can be explained as:-
|:- Superview
-:- Space
offsetTop:- Space from top
So this format will create 50 leading and 50 trailing space and 40 top space from superview.
Hope this blog will help you all to understand the auto layout concept programatically.
0 Comment(s)