motion/core/app.rb in bubble-wrap-0.4.0 vs motion/core/app.rb in bubble-wrap-1.0.0.pre
- old
+ new
@@ -65,9 +65,14 @@
# Return application frame
def frame
UIScreen.mainScreen.applicationFrame
end
+ # Main Screen bounds. Useful when starting the app
+ def bounds
+ UIScreen.mainScreen.bounds
+ end
+
# Application Delegate
def delegate
UIApplication.sharedApplication.delegate
end