https://bugreports.qt.io/browse/QTBUG-70692
---
Artem Sidyakin
> On 23 Sep 2018, at 11:47, Artem Sidyakin wrote:
>
>> iOS does not have supported access to the ambient light sensor.
>
> That seems to be so: https://forums.developer.apple.com/thread/81806
>
> Should we update the documentation
> iOS does not have supported access to the ambient light sensor.
That seems to be so: https://forums.developer.apple.com/thread/81806
Should we update the documentation (http://doc.qt.io/qt-5/compatmap.html) then?
---
Artem Sidyakin
> On 22 Sep 2018, at 21:12, Lorn Potter wrote:
>
>
>
> On
On 20/9/18 7:19 am, Lorn Potter wrote:
No and apparently not. Thanks for the bug report. Should be rather
trivial to add in support.
Just to conclude this thread. iOS does not have supported access to the
ambient light sensor. So until then, Qt cannot add support for it.
__
Hi,
On 19/9/18 2:40 am, Jason H wrote:
produces no updates, nor any warnings or errors.
Does this actually work? Did it ever?
No and apparently not. Thanks for the bug report. Should be rather
trivial to add in support.
-
Lorn
___
Interest mailin
I’ve tried it on my iPhone, but result is the same as yours.
I’ve also tried checking connectedToBackend property and it is false, so I
guess that’s the reason. But I don’t know why it’s not connected, because for
other sensors it is true and I can get their readings.
---
Artem Sidyakin
> On 18
http://doc.qt.io/qt-5/compatmap.html states that AmbientLightSensor is on iOS.
AmbientLightSensor {
active: true
skipDuplicates: false
onReadingChanged: {
console.log("lightLevel", reading.lightLevel);