<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Qt Gestures (Sensors) not working on iOS? in ArcGIS AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832167#M2272</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering if anyone else can confirm this or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to try the Gestures in QML out. I used just the basic code as per online examples, e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.qt.io/qt-5/qtsensors-qmlsensorgestures-example.html" title="http://doc.qt.io/qt-5/qtsensors-qmlsensorgestures-example.html"&gt;Qt Sensors - SensorGesture QML Type example | Qt Sensors 5.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get it to work on Android, but not on my iPhone 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check what was happening, I checked the&amp;nbsp;availableGestures property of my&amp;nbsp;&lt;SPAN style="color: #66a334;"&gt;SensorGesture &lt;/SPAN&gt;object on the two devices. The android device reported a list of available gestures, but the iPhone reported none.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm wondering if there is a reason for that, or is it some sort of bug that I should be reporting?&lt;/P&gt;&lt;P&gt;The very basic code would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import QtQuick 2.7&lt;BR /&gt;import QtQuick.Controls 2.1&lt;BR /&gt;import QtQuick.Dialogs 1.2&lt;BR /&gt;import QtSensors 5.0&lt;/P&gt;&lt;P&gt;MessageDialog {&lt;BR /&gt; id: msgDialog&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; SensorGesture {&lt;BR /&gt; id: sensorGesture&lt;BR /&gt; gestures : ["QtSensors.shake", "QtSensors.whip", "QtSensors.twist", "QtSensors.cover",&lt;BR /&gt; "QtSensors.hover", "QtSensors.turnover", "QtSensors.pickup", "QtSensors.slam" , "QtSensors.doubletap"]&lt;/P&gt;&lt;P&gt;enabled: true&lt;BR /&gt; &lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; Button{&lt;BR /&gt; text: "Gestures available?"&lt;BR /&gt; onClicked: {&lt;BR /&gt; msgDialog.title = 'Gestures available'&lt;BR /&gt; msgDialog.text = String(sensorGesture.availableGestures)&lt;BR /&gt; msgDialog.open()&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Apr 2018 21:53:54 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2018-04-18T21:53:54Z</dc:date>
    <item>
      <title>Qt Gestures (Sensors) not working on iOS?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832167#M2272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering if anyone else can confirm this or not?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wanted to try the Gestures in QML out. I used just the basic code as per online examples, e.g:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.qt.io/qt-5/qtsensors-qmlsensorgestures-example.html" title="http://doc.qt.io/qt-5/qtsensors-qmlsensorgestures-example.html"&gt;Qt Sensors - SensorGesture QML Type example | Qt Sensors 5.10&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was able to get it to work on Android, but not on my iPhone 6.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To check what was happening, I checked the&amp;nbsp;availableGestures property of my&amp;nbsp;&lt;SPAN style="color: #66a334;"&gt;SensorGesture &lt;/SPAN&gt;object on the two devices. The android device reported a list of available gestures, but the iPhone reported none.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I'm wondering if there is a reason for that, or is it some sort of bug that I should be reporting?&lt;/P&gt;&lt;P&gt;The very basic code would be something like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import QtQuick 2.7&lt;BR /&gt;import QtQuick.Controls 2.1&lt;BR /&gt;import QtQuick.Dialogs 1.2&lt;BR /&gt;import QtSensors 5.0&lt;/P&gt;&lt;P&gt;MessageDialog {&lt;BR /&gt; id: msgDialog&lt;BR /&gt; }&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; SensorGesture {&lt;BR /&gt; id: sensorGesture&lt;BR /&gt; gestures : ["QtSensors.shake", "QtSensors.whip", "QtSensors.twist", "QtSensors.cover",&lt;BR /&gt; "QtSensors.hover", "QtSensors.turnover", "QtSensors.pickup", "QtSensors.slam" , "QtSensors.doubletap"]&lt;/P&gt;&lt;P&gt;enabled: true&lt;BR /&gt; &lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt; Button{&lt;BR /&gt; text: "Gestures available?"&lt;BR /&gt; onClicked: {&lt;BR /&gt; msgDialog.title = 'Gestures available'&lt;BR /&gt; msgDialog.text = String(sensorGesture.availableGestures)&lt;BR /&gt; msgDialog.open()&lt;BR /&gt; }&lt;BR /&gt; }&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Apr 2018 21:53:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832167#M2272</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-18T21:53:54Z</dc:date>
    </item>
    <item>
      <title>Re: Qt Gestures (Sensors) not working on iOS?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832168#M2273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Paul,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe this is a Qt bug and needs to be reported to Qt Company. I can reproduce this bug using a simple Qt app which does not use any AppStudio components.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Shobana&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2018 05:53:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832168#M2273</guid>
      <dc:creator>ShobanaSuresh</dc:creator>
      <dc:date>2018-04-24T05:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: Qt Gestures (Sensors) not working on iOS?</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832169#M2274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for testing and confirming Shobana. I have gone ahead and lodged a bug report direct with Qt Company.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2018 01:39:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/qt-gestures-sensors-not-working-on-ios/m-p/832169#M2274</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2018-04-25T01:39:15Z</dc:date>
    </item>
  </channel>
</rss>

