malkomalko
8/26/2013 - 12:19 PM

_ios_seven.scss

// ios_seven.scss
@import 'main';
@import 'ios_seven';
// default.scss
@import 'main'
class AppDelegate
  def application(application, didFinishLaunchingWithOptions:launchOptions)
    stylesheet = (Device.ios_version.to_f >= 7.0) ? 'ios_seven.css' : 'default.css'
    PXEngine.styleSheetFromFilePath(File.join(NSBundle.mainBundle.resourcePath, stylesheet), withOrigin:0)
    true
  end
end
// _ios_seven.scss
// iOS 7 specific styles