0

When the keyboard rectangle appears, I would like to move my views. I worked from the best answer to this question to attempt to implement this in Swift.

When the program tries to get the UIKeyboardFrameEndUserInfoKey value it found nil. But if I cast this value to NSValue it HAS the value of NSRect type. If I try to cast it to NSRect I get an error "Undeclared type". If I cast it to CGREct I get nil. What's going on here?

enter image description here

Community
  • 1
  • 1
abr_stackoverflow
  • 691
  • 2
  • 10
  • 26

0 Answers0