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

Convert NsNumber, NSDate to String in iOS Swift

Global LocationManager Singleton class iOS Swift