Method: MPSearchBarCustom#layoutSubviews
- Defined in:
- motion-prime/support/mp_search_bar_custom.rb
#layoutSubviews ⇒ Object
3 4 5 6 7 8 9 |
# File 'motion-prime/support/mp_search_bar_custom.rb', line 3 def layoutSubviews super text_field = subviews.objectAtIndex(0).subviews.detect do |view| view.is_a?(UISearchBarTextField) end text_field.frame = CGRectMake(0, 0, 320, 44) end |