path: root/tests
diff options
authorRichard Moe Gustavsen <>2016-01-11 11:27:19 +0100
committerTor Arne Vestbø <>2016-01-11 18:30:42 +0000
commitca7f1d2197f78ec3332cfd86ab9921730b6d4f23 (patch)
tree093d2a79b2d90e5948e831b25733b593e17fd519 /tests
parente8479592c5654e9ccc2f555f32db70e4d0b09ba9 (diff)
iOS: fix crash on iOS 8 due to unsupported selector
It turns out that f558bde was not enough to stop a crash when trying to access forceTouchCapability of traitCollection. The reason is that traitCollection is available on UIScreen starting from iOS 8, while forceTouchCapability is available on UITraitCollection starting from iOS 9. So only checking the former will cause a crash when running on iOS 8. Change-Id: I44f9fb785349694004fbf2f48fe3b85bb01d9a5a Reviewed-by: Tor Arne Vestbø <>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions