Details
Description
Applications do not work with iOS 7 and earlier due to unrecognized selector:
<code>
QML debugging is enabled. Only use this in a safe environment.
2015-12-23 17:59:39.055 flat[279:60b] -[UIScreen traitCollection]: unrecognized selector sent to instance 0x170137fc0
2015-12-23 17:59:39.058 flat[279:60b] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[UIScreen traitCollection]: unrecognized selector sent to instance 0x170137fc0'
-
-
- First throw call stack:
(0x18c533100 0x198a3c1fc 0x18c537db4 0x18c535ae0 0x18c45578c 0x10008c854 0x10008c9c4 0x10008bcb0 0x100801438 0x100800a40 0x100800994 0x10080be10 0x10080bb70 0x10080c648 0x1012ac048 0x1012abbf0 0x100809500 0x10080a2bc 0x10008a0c0 0x10008ed80 0x10008eabc)
libc++abi.dylib: terminating with uncaught exception of type NSException
(lldb)
</code>
- First throw call stack:
-
The problem can be reproduced by trying to start one of the sample applications on an iOS 7 or earlier device. I do not have an iOS 8 device but it should work there because the "UIScreen traitCollection" selector has been introduced with iOS 8.