Method: MotionPrime::BaseFieldSection#blur
- Defined in:
- motion-prime/sections/form/base_field_section.rb
#blur ⇒ Object
97 98 99 100 101 102 103 104 105 106 |
# File 'motion-prime/sections/form/base_field_section.rb', line 97 def blur elements.values.each do |element| if element.view.is_a?(UITextField) element.view.resignFirstResponder && return end end self rescue NSLog("can't blur on element #{self.class_name_without_kvo}") end |