Add ios specific support
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user