lib/ProMotion/screen_helpers/screen_elements.rb in ProMotion-0.5.0 vs lib/ProMotion/screen_helpers/screen_elements.rb in ProMotion-0.5.2
- old
+ new
@@ -25,19 +25,7 @@
def frame
return self.view.frame
end
- def content_height(view)
- height = 0
- view.subviews.each do |subview|
- next if subview.isHidden
- y = subview.frame.origin.y
- h = subview.frame.size.height
- if (y + h) > height
- height = y + h
- end
- end
- height
- end
end
end