lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.4.2 vs lib/ProMotion/delegate/delegate_module.rb in ProMotion-2.5.0.beta1
- old
+ new
@@ -1,9 +1,9 @@
module ProMotion
module DelegateModule
include ProMotion::Support
include ProMotion::Tabs
- include ProMotion::SplitScreen if UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad
+ include ProMotion::SplitScreen if UIDevice.currentDevice.userInterfaceIdiom == UIUserInterfaceIdiomPad || (UIDevice.currentDevice.systemVersion.to_i >= 8 )
attr_accessor :window, :home_screen
def application(application, willFinishLaunchingWithOptions:launch_options)
will_load(application, launch_options) if respond_to?(:will_load)