Add ios specific support

This commit is contained in:
2014-12-24 10:21:19 +01:00
parent 4faee9aa6e
commit 0d40b5864f
2 changed files with 15 additions and 0 deletions
@@ -14,3 +14,8 @@ App.ApplicationView = Ember.View.extend
if fingerCount is 3 and direction is "up"
controller.transitionToRoute "settings"
fingers: 'all'
#ios7 detection
if window.device and window.device.platform and window.device.platform.toLowerCase() is "ios" and parseFloat(window.device.version) >= 7.0
controller.set 'ios7', true
$('body').addClass 'ios7'