Class: UIViewController
- Inherits:
-
Object
- Object
- UIViewController
- Defined in:
- motion/ui/ui_view_controller.rb
Instance Method Summary collapse
-
#content_frame ⇒ Object
Short hand to get the content frame.
Instance Method Details
#content_frame ⇒ Object
Short hand to get the content frame
Return content frame: the application frame - navigation bar frame
5 6 7 8 9 10 |
# File 'motion/ui/ui_view_controller.rb', line 5 def content_frame app_frame = App.frame = self..nil? ? 0 : self...frame.size.height CGRectMake(0, 0, app_frame.size.width, app_frame.size.height - ) end |