-1

Working code is here Manage UITextField's dynamic position using auto layout for generating dynamic TextFields but I also want a label (dynamically added) before the every textField. Thanks!

Community
  • 1
  • 1
Kishore
  • 9
  • 3
  • Best way for this is use UIStackView. http://stackoverflow.com/documentation/ios/1390/uistackview#t=201703101129055813853 – Sergey Mar 10 '17 at 11:29

1 Answers1

1

You Just Take The textFields Height Constant and textFields Top Constant ...where ever you are hiding that textfield height do must 0 and the under textfield top constant give 0 it will work..

we do not do any functionality ..the simulator show like this..enter image description here

after write these two lines of the code the simulator working like this .

_fieldThreeHeight.constant = 0;
_fieldFourTop.constant = 0;

enter image description here

prasad
  • 82
  • 7