motion/core/app.rb in bubble-wrap-1.3.0.osx vs motion/core/app.rb in bubble-wrap-1.3.0
- old
+ new
@@ -83,8 +83,12 @@
end
def osx?
Kernel.const_defined?(:NSApplication)
end
+
+ def ios?
+ Kernel.const_defined?(:UIApplication)
+ end
end
end
::App = BubbleWrap::App unless defined?(::App)