2 3 4 5 6 7 8
# File 'lib/under_os/screen.rb', line 2 def self.size # TODO make it handle the screen orientation UnderOs::Point.new({ x: UIScreen.mainScreen.bounds.size.width, y: UIScreen.mainScreen.bounds.size.height }) end