objective c - ios - Control some values of AutoLayout at runtime -


i'm trying implement custom slider , want slider's y position set in auto layout (center y bar) want control x position in code (so = 0 unless it)

everything seems fine, everytime auto-layout updates slider's x position goes 0. how can fix that?

another thing thought of make reference constraint between slider , bar, problem don't know how make constraint between slider's center , bar's left side.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -