How to get the UITextField Y axis Coordinate on UIView level

Solution:


            let textFieldY = textField.convert(textField.frame.origin, to:self.view).y

The above will calculate the y position of the textfield that is inside the tableview cell from the UIView level.

Comments

Popular posts from this blog

Invalid bundle error while upload the app to the app Store

Saved Image in document directory and save path in coredata not able to fetch the image file iOS swift