I have multiple textfields in a view (not a scrollview); 2 in particular are side by side, all are created in IB.
I use the same .xib for more than 1 entry screen. All textfields appear above the keyboard so keyboard covering these fields is NOT a problem.
On some screens I only need one of the two side-by-side textfields so I hide the other.
For aesthetic purposes only, on those screens where one field is hidden, I want to move the other textfield to the right or to the left in order to center that remaining textfield, keeping all of the other textfields on the screen stationery.
The .center property to get and move the center of the textfield, doesn't seem to work with uitextfield.
Any ideas please