dynamic layout help

Can I do this somehow?

  1. I have three text fields that need to be the same size and can have a space between them of X (say 4 pixels)
  2. The first one’s left edge is 64 pixels from the parent’s left edge.
  3. The last one’s right edge is a standard gap from the right edge.

I really want the three text fields to fill the available width of the iPhone screen that they are on, and there is a big difference between the smallest and largest. If I make the text fields fit on the smallest, then tapping into them obscures some of the text while editing.

Set constraints for the left, right and the gaps and then set constraints so that field1.width = field2.width and field2.width = field3.width.

They should all have equal priority.

Thanks Greg. Perfect.