Method: UIView.first_responder
- Defined in:
- lib/sugarcube-uikit/uiview.rb
.first_responder ⇒ Object
returns the first responder, starting at the Window and searching every subview
6 7 8 |
# File 'lib/sugarcube-uikit/uiview.rb', line 6 def first_responder UIApplication.sharedApplication.keyWindow.first_responder end |