I want to move a UIView up, when a textField is tapped. I already created the action of my textField. Is it possible to use offset with storyboard?
@IBAction func didBeginMove(_ sender: CurrencyField) {
}
I want to move a UIView up, when a textField is tapped. I already created the action of my textField. Is it possible to use offset with storyboard?
@IBAction func didBeginMove(_ sender: CurrencyField) {
}
You can do it in many ways
like
yourView.transform = CGAffineTransform(translationX: 10, y: 10)
or add top/bottom constrain or this view and change it
yourViewSpaceToTop.constant += 20